all I do is that spa, directly accesses localhost:8080/.
but if the browser directly inputs a url, which is localhost:8080/login, and then requests directly to the backend server, it will come back to 404.As the spa backend certainly does not know that login is all handled by the front end, what method should be used to solve this situation?!
for ideas and related keywords, thank you
background is express, preceded by vue.js