You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using SetVirtualHostNameToFolderMapping to proxy a Vue SPA,ref to #2270, but when I am on a sub-route(like /login) and refresh the page in the browser, I get an ERR_FILE_NOT_FOUND error. I understand that this is because in the SPA, the routes do not correspond to actual files. In nginx, this is resolved by setting location
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using SetVirtualHostNameToFolderMapping to proxy a Vue SPA,ref to #2270, but when I am on a sub-route(like
/login
) and refresh the page in the browser, I get an ERR_FILE_NOT_FOUND error. I understand that this is because in the SPA, the routes do not correspond to actual files. In nginx, this is resolved by setting locationIs there some ways to keep page working when reload page
Beta Was this translation helpful? Give feedback.
All reactions