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 has been archived by the owner on Sep 6, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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:and
…no longer work; you have to use:
and
…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
.The text was updated successfully, but these errors were encountered: