You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We return a Promise as well.
This causes static assets not to work.
This might me specific to the azure-function preset
This causes assets to not to show up correctly or get downright rejected by the sanitizer for the incorrect file size
Additional context
If I go in to the compiled js files and modify the runtime/static.ts file, then it does work again.
I make the handler async and await the read operation.
Environment
Nuxi 3.0.0-rc.13 19:19:41
Nuxt 3.0.0-rc.13 with Nitro 0.6.1
node v16.03
Reproduction
Describe the bug
In
nitro/src/rollup/plugins/public-assets.ts
Line 55 in 72c912e
We are returning a promise to read a file and not the file itself.
so in
nitro/src/runtime/static.ts
Line 90 in 72c912e
We return a Promise as well.
This causes static assets not to work.
This might me specific to the
azure-function
presetThis causes assets to not to show up correctly or get downright rejected by the sanitizer for the incorrect file size
Additional context
If I go in to the compiled js files and modify the runtime/static.ts file, then it does work again.
I make the handler async and await the read operation.
Logs
No response
The text was updated successfully, but these errors were encountered: