Skip to content

Commit

Permalink
Revert "CSP: add www.a-trust.at as well"
Browse files Browse the repository at this point in the history
This reverts commit 4c51ec7.

The error page can't be shown in an iframe, so that redirect was
probably not on purpose, and it's fine to just fail before loading the page.
  • Loading branch information
lazka committed Dec 20, 2024
1 parent 4c51ec7 commit 2f00e1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ function getOrigin(url) {
const atrustHosts = [
'https://www.handy-signatur.at', // old one
'https://service.a-trust.at',
'https://www.a-trust.at', // sometimes used for error pages redirects
];

config.CSP = `default-src 'self' 'unsafe-inline' \
Expand Down

0 comments on commit 2f00e1f

Please sign in to comment.