Skip to content
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

Poll the absolute path of the manifest.json file #120

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

agners
Copy link
Member

@agners agners commented Aug 12, 2024

Instead of using a relative path to manifest.json use an absolute path. This makes sure that we detect that Home Assistant Core is available also on our Apps, which navigate to /auth/authorize?... by default. The relative path then polls the wrong location /auth/manifest.json.

With the absolute path we make sure that the correct location is polled on our Apps as well.

Fixes: home-assistant/android#4576

Instead of using a relative path to manifest.json use an absolut path.
This makes sure that we detect that Home Assistant Core is available
also on our Apps, which navigate to `/auth/authorize?...` by default.
The relative path then polls the wrong location `/auth/manifest.json`.

With the absolut path we make sure that the correct location is polled
on our Apps as well.
@agners agners changed the title Poll the absolut path of the manifest.json file Poll the absolute path of the manifest.json file Aug 12, 2024
@agners agners merged commit 42b5678 into main Aug 12, 2024
25 checks passed
@agners agners deleted the poll-absolute-path-of-manifest-json branch August 12, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refresh on Home Assistant landing page doesn't work
2 participants