summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorRomeo Fragomeli <rfr@odoo.com>2020-08-11 10:26:39 +0000
committerRomeo Fragomeli <rfr@odoo.com>2020-08-11 14:36:27 +0000
commit8e2ff15b61686f0efee0cad530a6654433f959a3 (patch)
treec60cf0adc5fb014786d0f516b25d7015a63006ae /addons/web/static/src/js
parentda31f3dd40e51ac9274e58d4cae4cb6d16ed8961 (diff)
[FIX] website_event_track_online: avoid 404 for PWA manifest
Before this commit, the browser didn't send cookies for manifest and the server didn't have the session ID to get the db name for the following request: "/event/manifest.webmanifest" After this commit, we force the browser to send cookies for the manifest. > The request for the manifest is made without credentials > (even if it's on the same domain), thus if the manifest requires > credentials, you must include crossorigin="use-credentials" in the > manifest tag. Ref: https://web.dev/add-manifest/ Steps to reproduce: * Open Chrome Mobile * Go to the Event (Front End) * Inspect with DevTool (the manifest's request don't have cookies) -> BUG closes odoo/odoo#55762 X-original-commit: 00039aa46f9bcd3998de1e31646b8d15927fda06 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions