-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS “Add to Home Screen” Incorrect URL #1573
Comments
It is because currently uptime-kuma/public/manifest.json Line 4 in d39dc94
If it is needed, I think we need to add a dynamic manifest file. |
Hi @louislam, first time commenting here. I think it would be really useful to make a dynamic manifest file for the status pages. As I see it, you can create a handful of different status pages for each group or area and each member can add it to the home screen as needed. Thanks by the way, really great job! |
Maybe this could be a solution... [...] However, this will also map https://example.com/test/manifest.json to https://example.com/, which fails because it's in a folder outside the scope of the manifest. Instead, if you are using a sub-directory you need to set both a scope and the start_url: "start_url": "./" This will cause https://example.com/test/manifest.json to map to https://example.com/test/ as expected. full post on: https://stackoverflow.com/a/56128412 |
🛡️ Security Policy
Description
Hi,
I have found an issue where if I were to open a status page, and want to add it to the homescreen of my iOS device, that instead of making the web link https://yourserver.com/status/page1 it will make the shortcut https://yourserver.com instead.
I believe this article relates to it. Looks like that a manifest file needs to be updated to make it work. Is this something that could be fixed to automatically work?
Article: https://apple.stackexchange.com/questions/385417/add-to-home-screen-saves-wrong-url
👟 Reproduction steps
👀 Expected behavior
😓 Actual Behavior
🐻 Uptime-Kuma Version
1.15.0
💻 Operating System and Arch
Raspian on RPi4
🌐 Browser
Safari on iOS and iPadOS
🐋 Docker Version
Docker 20.10.14
🟩 NodeJS Version
No response
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: