I’m using Azure Functions and Function Proxies to avoid CORS. I direct any request other than /api or /scripts to index.html in blob storage. /api/* goes to the functions and /scripts/* is for vendor-bundle and app-bundle from blob storage. This works great, however, I’d like to serve vendor-bundle and app-bundle from a CDN, so from a different domain to index.html. I can replace the vendor-bundle url to the CDN version, but the app-bundle is still served relative to the index.html.
How can I tell Aurelia to load the app-bundle from the CDN too? I’m using CLI.
Thanks,
Jon