This is our situation: we have an app on https://www.domain.com
but our static resources get served from another domain https://static1.do-main.net
.
Our script tag that loads the initial js looks like this:
<script
src= "https://static4.do-main.net/production/Helpdesk/helpdesk-app/bundles/main.rev-fcfd19a68b.js"
base-url="/production/Helpdesk/helpdesk-app/bundles"
bundles-path="."
cache-key="rev"
cache-version="2208e282-6b0b-446d-be56-5f9de25e3127">
</script>
Example:
-
main.js
loads a new bundletickets.js
-
tickets.js
will loadtickets.css
-
tickets.css
will loadimage.svg
.
All these files get loaded from https://www.domain.com
instead of https://static4.do-main.net
were main.js
is loaded initially.
Is it possible to let Steal load content from another domain?