mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-13 18:46:21 +02:00
fix(csp): add commodity variant to CSP and fix iframe variant navigation (#1506)
* fix(csp): add commodity variant to CSP and fix iframe variant navigation
- Add commodity.worldmonitor.app to frame-src and frame-ancestors in
vercel.json and index.html CSP — was missing while all other variants
were listed
- Open variant links in new tab when app runs inside an iframe to prevent
sandbox navigation errors ("This content is blocked")
- Add allow-popups and allow-popups-to-escape-sandbox to pro page iframe
sandbox attribute
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(csp): add missing variant subdomains to tauri.conf.json frame-src
Sync tauri.conf.json CSP with index.html and vercel.json by adding
finance, commodity, and happy worldmonitor.app subdomains to frame-src.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs: add PR screenshots for CSP fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Elie Habib <elie.habib@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0ef37d353a
commit
59cd313e16
BIN
.github/pr-assets/pro-iframe-section.png
vendored
Normal file
BIN
.github/pr-assets/pro-iframe-section.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
BIN
.github/pr-assets/pro-landing.png
vendored
Normal file
BIN
.github/pr-assets/pro-landing.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 202 KiB |
BIN
.github/pr-assets/world-variant.png
vendored
Normal file
BIN
.github/pr-assets/world-variant.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 504 KiB |
Reference in New Issue
Block a user