We have an app hosted on clever-cloud with its own domain name, let’s says https://abc.com and our client has set up a reverse proxy for our app to be served from this url on their platform:
When we go to this URL we get a blank page because our meteor app is trying to load our bundle js and css from the following URL:
https://app.clientdomain/bundlescss.css
https://app.clientdomain/bundledjs.js
instead of:
https://app.clientdomain/**abc**/bundlescss.css
https://app.clientdomain/**abc**/bundledjs.js
The client has advised us to change how the js and css bundled are served, using absolute url:
actual (not working):
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="/f9627b42a724bff9f887ed47a37a77eed4a846c1.css?meteor_css_resource=true">
What should work (check the dot at the beginning of the href):
<link rel="stylesheet" type="text/css" class="__meteor-css__" href="./f9627b42a724bff9f887ed47a37a77eed4a846c1.css?meteor_css_resource=true">
While I agree the solution should be it I have no idea how to handle this in the Meteor configuration. Anyone that would have some lead?
Thanks a lot