diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-06-04 09:07:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 09:07:15 +0200 |
commit | 2b48d1c057bf24776fb0538c7db0a0b156e667c5 (patch) | |
tree | 47a6b64226c3d3707b285a6de3838a2d7270b59f /docs/troubleshooting.md | |
parent | 95d73348e5dd8fd0fbb1b6747c58b346ecf772ad (diff) | |
parent | 95249e11255beb8b85f904c54429b353fca40b9e (diff) | |
download | homer-2b48d1c057bf24776fb0538c7db0a0b156e667c5.tar.gz homer-2b48d1c057bf24776fb0538c7db0a0b156e667c5.tar.zst homer-2b48d1c057bf24776fb0538c7db0a0b156e667c5.zip |
Merge pull request #448 from bemble/main
feat(pwa): enhance connectivity checks
Diffstat (limited to 'docs/troubleshooting.md')
-rw-r--r-- | docs/troubleshooting.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 649e5a6..10d6c2d 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md | |||
@@ -17,3 +17,9 @@ To resolve this, you can either: | |||
17 | * Host all your target service under the same domain & port. | 17 | * Host all your target service under the same domain & port. |
18 | * Modify the target server configuration so that the response of the server included following header- `Access-Control-Allow-Origin: *` (<https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests>). It might be an option in the targeted service, otherwise depending on how the service is hosted, the proxy or web server can seamlessly add it. | 18 | * Modify the target server configuration so that the response of the server included following header- `Access-Control-Allow-Origin: *` (<https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests>). It might be an option in the targeted service, otherwise depending on how the service is hosted, the proxy or web server can seamlessly add it. |
19 | * Use a cors proxy server like [`cors-container`](https://github.com/imjacobclark/cors-container), [`cors-anywhere`](https://github.com/Rob--W/cors-anywhere) or many others. | 19 | * Use a cors proxy server like [`cors-container`](https://github.com/imjacobclark/cors-container), [`cors-anywhere`](https://github.com/Rob--W/cors-anywhere) or many others. |
20 | |||
21 | ## I am using an authentication proxy and homer says I am offline | ||
22 | |||
23 | This should be a configuration issue. | ||
24 | * Make sure the option `connectivityCheck` is set to `true` in configuration. | ||
25 | * Check your proxy configuration, the expected behavior is to redirect user using a 302 to the login page when user is not authenticated. | ||