unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.89k stars 496 forks source link

Nitro serveStatic true option not working for aws-lamda preset #2598

Open Sulaimon-Abiola opened 2 months ago

Sulaimon-Abiola commented 2 months ago

Environment

Nuxt 3 project

Node js v20.13.1

Reproduction

am using a private repo, but the problem is apparent

Describe the bug

I expect that when i set Nitro serveStatic to true, css, js and other assets should load, although CDN is preferred in the documentation, but i currently get 403 error

Additional context

No response

Logs

No response