vendredi 3 novembre 2017

Test web page on localhost without changing source paths

I have a webpage running on a server. It loads some resources which are included with paths relative to the current root (e.g. /folder1/partial.html). When trying to open the webpage locally for testing, I run into problems because my Windows C: drive is now considered the current root. How can I work around this without having to change all the include paths?




Aucun commentaire:

Enregistrer un commentaire