Use nice URLs like http://<server_url>/index.html when working with local projects.
The latest Pinegrow Web Editor release 5.973 added the setting for changing how the files are addressed when served by Pinegrow’s internal web-server.
Until now, local files were addressed with URLs like
This can cause issues with resources that use root-relative URLs, for example
The new approach is to address files from the local project with URLs that are relative to the project folder.
Under the hood, Pinegrow maps this URL to the file
<path of the current project>/index.html
At the moment this option needs to be explicitly enabled in Settings, in Internal Web Server & Proxy settings section:
The same nice URLs are now also used when previewing documents in the browser:
The old mode is used by default, unless you activate the Root URLs option in Settings.
Root URLs only work with local files when their parent folder is opened as project in Pinegrow.
After a testing period, this will become the default approach to addressing files.