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
I have an error page that I'm using with my CDN as my default error page. It works fine when the error happens at the top level of my site, but because the CSS (and favicon) is loading via a relative path the page is unstyled when showing an error for a path with a directory... so /asdf shows the error property but /somedir/asdf doesn't. How can I force the absolute path for the CSS in src/+error.svelte
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have an error page that I'm using with my CDN as my default error page. It works fine when the error happens at the top level of my site, but because the CSS (and favicon) is loading via a relative path the page is unstyled when showing an error for a path with a directory... so
/asdf
shows the error property but/somedir/asdf
doesn't. How can I force the absolute path for the CSS insrc/+error.svelte
Beta Was this translation helpful? Give feedback.
All reactions