Skip to content

fix(site): make test notification fetch respect CSP#8

Merged
lucor merged 1 commit intomainfrom
fix/api-tokens-csp-fetchO
Apr 27, 2026
Merged

fix(site): make test notification fetch respect CSP#8
lucor merged 1 commit intomainfrom
fix/api-tokens-csp-fetchO

Conversation

@lucor
Copy link
Copy Markdown
Owner

@lucor lucor commented Apr 27, 2026

The browser refuses the test-notification request because the push endpoint is not in the allowed origin list for this page.

Send the fetch through the API path that the browser already trusts. The public push URL stays visible in the curl snippet for users who copy-paste it into a terminal.

The browser refuses the test-notification request because the push
endpoint is not in the allowed origin list for this page.

Send the fetch through the API path that the browser already trusts.
The public push URL stays visible in the curl snippet for users who
copy-paste it into a terminal.
@lucor lucor merged commit bf95079 into main Apr 27, 2026
3 checks passed
@lucor lucor deleted the fix/api-tokens-csp-fetchO branch April 27, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant