problem description
For the Wechat official account web project written byreact, add an extra / at the end of the url address (for example: https://xxx.com/login/), the page is blank.
the environmental background of the problems and what methods you have tried
1. For the local startup project, add an extra / at the end of the url address to access
2. The static files in build/static can be accessed normally without adding / at the end of url. The static files in build/static can be accessed normally. Add / at the end of url and add a directory name in front of the static file in the console.
such as:
url/: https://xxx/wechat/static/css/main.3c1cb3aa.css
url/: https://xxx/wechat/home/static/css/main.3c1cb3aa.css (urlhome,)
what result do you expect? What is the error message actually seen?
I have looked for Baidu, but I still can"t find out what the problem is. Please give me some advice. Thank you in advance.