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
Putting together a repro will be a little tricky with this one since it requires a deploy to a valid URL. I can set one up later and add it to the issue, but I wanted to file this while it was fresh in my mind.
When deployed, the Nuxt app correctly accesses all JS/CSS files from the CDN. However, when the app throws an error, it disregards the CDN setting and tries to use the error-component JS & CSS files from the app's server URL.
Would you confirm whether this is also true when you use the edge channel? nuxt/framework#6637 migth well resolve this issue, but I can't confirm without a reproduction.
Environment
Nuxt CLI v3.0.0-rc.8
RootDir: /Volumes/SuperData/Sites/reelcrafter/v2-presentation-nuxt3
Nuxt project info:
Darwin
v16.15.0
3.0.0-rc.8
yarn@3.2.1
vite
-
-
-
Reproduction
Putting together a repro will be a little tricky with this one since it requires a deploy to a valid URL. I can set one up later and add it to the issue, but I wanted to file this while it was fresh in my mind.
Describe the bug
I have this in my Nuxt config:
When deployed, the Nuxt app correctly accesses all JS/CSS files from the CDN. However, when the app throws an error, it disregards the CDN setting and tries to use the
error-component
JS & CSS files from the app's server URL.Additional context
Might be because this line isn't taking into consideration the
cdnURL
setting?https://github.com/nuxt/framework/blob/c72093b1f2e6f6f7f2cab7d2e5af8fee3243906a/packages/nuxt/src/app/components/nuxt-root.vue#L12
Logs
No response
The text was updated successfully, but these errors were encountered: