Using @sveltejs/adapter-node: 1.0.0-next.61
and @sveltejs/kit: ^1.0.0-next.225
The following issue occurs only on the build version of the app, and not on the dev server, on which it doesn’t occur.
When uploading a new file, my app keeps returning 404 regarding those newly created files as though the app is blind to those. Interestingly enough, said images are found when restarting the server.
The creation request succeeds:
The file is correctly created on the filesystem and should be loaded by the page as seen in the json response which lists all files to be loaded on the page:
However, when attempting to fetch the file, the server responds with a 404 although the path to it is correct: