Closed stj8888 closed 1 year ago
Hi, you can check out the latest version 1 release for the code.
This is verbosely the same issue I ran into. Check out the folder mvc > download > controller.ts for the controller for the implementation. Essentially, I resorted to building an API endpoint to serve the files, instead of trying to make Nuxt serve them. It seems the files in the public directory are static and not expected to change. Thus, on build it's static, and trying to access new files is forbidden. If you are running on a Linux based environment remember to edit fil permissions for the destination folder, HINT: Look at the Dockerfile for the commands.
For the later versions, I moved to using MINIO S3 storage
I'm using nuxt 3 to create a web app where users can upload files. Now I store them in a public folder, and I assume they will be available to users in that folder Other files like favicon get serviced but not uploaded files, I get a 404 error, during yarn dev it seems to work fine, but not after building with yarn build. This is a screenshot of the folder that can access the Favicon .ico, but not the newly uploaded screenshots. How can I mitigate this?