.htaccess setup to allow react router to work without preventing API calls to server

前端 未结 0 1153
鱼传尺愫
鱼传尺愫 2021-01-05 11:46

When I deployed my react app to a static server it crashed on refreshing the web browser. To fix this I added the following code to my .htaccess file:

Rewrite         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题