Edit index.html

1
Hi all, I'm probably being a bit dim about this but I need to change a line in the <head> element of my index.html file and am struggling to save this change. The .js URL the app refers to has changed, so I need to change: <script src="https://**oldURL**.js"></script> to: <script src="https://**newURL**.js"></script> How can I make this change and save it? I have tried editing in Chrome dev tools but of course this change does not persist. Any advice would be great! Thanks Anna
asked
1 answers
4

The index file you need to edit is contained in the theme folder. To get there click on the option in the modeller project and open deployment directory. Once in the deployment directory you will see the theme folder. In the theme folder there will either be a index.html or a zip file for your theme. If you have a zip file, unzip it and edit the index.html and then zip it back up, then replace your old zip file. If there is no zip file then simply edit the index.html, save it and then redeploy. You may need to also clear your cache.

answered