You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Setting to Use Local Domain Instead of File Protocol In Live Preview #1920
Currently Live Preview opens up documents through the file protocol, as in file:///path/to/index.html. This is bad for development since you can’t use things like root- or protocol-relative URLs, only document-relative (even with <base />). So:
…respectively. This makes migration from a local to remote environment or vice-versa a huge pain, as you have to find/replace every URL in your HTML, CSS, and JavaScript. Also, Typekit breaks, as it’s impossible to add a local filesystem path to a kit’s list of allowed domains. It would be helpful to have an option to make Live Preview open up documents with a custom local domain such as localhost, as in http://localhost/path/to/index.html.
Activity
peterflynn commentedon Oct 23, 2012
@hguiney, does this feature help? https://trello.com/card/3-url-mapping-for-live-development/4f90a6d98f77505d7940ce88/664 You'll still need to set up the local webserver yourself, but hopefully it's a step in the right direction. We're working on this in the current sprint, so it should be available in just a couple of weeks.
HughxDev commentedon Oct 23, 2012
Yes, that should do exactly what I want. Pleased to hear it’s being worked on!
peterflynn commentedon Oct 23, 2012
Great! I'll close this bug, then.
MjJuneja commentedon Mar 16, 2017
Please help link is not opening and am facing same problem.