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
No reactivity because manifest.json fail to load behind Cloudflare Access #9281
Comments
@abelmferreira Thank you for reporting this and sharing the findings. Closing this for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using self hosted chatwoot behind Cloudflare Proxy with Access auth enabled, manifest fail to load with a 302 redirect because cloudflare forces authentication.
This breaks de pwa functions and no reactivity occurs, not updating chats when new messages arrives forcing us to reload full page every time.
To Reproduce
Expected behavior
manifest.json load and reactivity works
Environment
Docker
Cloud Provider
Other [please specify in the description]
Platform
Browser
Operating system
Ubuntu 22.04
Browser and version
Edge 123.0.2420.97
Docker (if applicable)
Docker Version: 20.10.17
Additional context
Searching, i foud that we need add this attribute crossorigin="use-credentials" to link tag of manifest.
In my deployment i change this part in app/views/layouts/vueapp.html.erb file at line 29 and fixes it and manifest.json loaded
to
The text was updated successfully, but these errors were encountered: