The Mermaid Live Editor has an URL path /edit.
However, in the PWA manifest.json (src: static/manifest.json), the start_url and scope are defined as /edit/ (with a trailing /).
This seems to cause the web app installed on Windows treats the editor page as out of the defined app scope, and it will display an annoying URL indicator on top, for security awareness.
To Reproduce
Link to Live Editor: https://mermaid.live
Steps to reproduce the behavior:
Describe the bug
The Mermaid Live Editor has an URL path
/edit
. However, in the PWA manifest.json (src:static/manifest.json
), thestart_url
andscope
are defined as/edit/
(with a trailing/
). This seems to cause the web app installed on Windows treats the editor page as out of the defined app scope, and it will display an annoying URL indicator on top, for security awareness.To Reproduce Link to Live Editor: https://mermaid.live Steps to reproduce the behavior:
Expected behavior The editor URL is consistent with the
start_url
andscope
defined in the PWA manifest.jsonScreenshots
Desktop (please complete the following information):
Additional context It works well if I remove the trailing slash from the
start_url
andscope
. See https://allxiao.github.io/mermaid-live/