I got a ReactJS
project, I used npm run build
to deploy static, now I want to upload to my vps
, it working good, but after I go to mysite.com/Login
if I reload page (refresh) it give me 404 error
.
package.json
"name": "homer",
"homepage": ".",
"version": "0.1.0",
"private": true,
404 Not Found The resource requested could not be found on this server!
what is the problem?
I just want when I refresh page, it show page correctly.
I tried to set domain
on homepage
in package.json but nothing changed.