I am using default Sapper sveltejs/sapper-template#webpack to start my project
I have a server route called auth/login that only accept POST request from the same Sapper client script.
The file structure looks like this:
And the Server route auth/login looks like this:
But I got a 404 Not Found error, and it even just run under npm run dev only:
I don't understand what is exactly the problem, can anyone please help?
Thank you very much in advance.


