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
Is there a way to specify an alternative origin when using <Scripts />?
For example, by default the link/script elements will be rendered with relative paths such as /build/entry.client-LBUESX5O.js. I would like to be able to load them from a fully specified url from a different origin such as https://cdn.exmaple.com/build/entry.client-LBUESX5O.js.
I am exploring Remix as an option for one of our apps so I might have missed something here as I'm new to this and react, but is this currently possible?
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.
-
Is there a way to specify an alternative origin when using
<Scripts />
?For example, by default the link/script elements will be rendered with relative paths such as
/build/entry.client-LBUESX5O.js
. I would like to be able to load them from a fully specified url from a different origin such ashttps://cdn.exmaple.com/build/entry.client-LBUESX5O.js
.I am exploring Remix as an option for one of our apps so I might have missed something here as I'm new to this and react, but is this currently possible?
Beta Was this translation helpful? Give feedback.
All reactions