mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Updated CSP
This commit is contained in:
parent
c3871dd86a
commit
89f1d96137
1 changed files with 6 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Decrypt content</title>
|
||||
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png">
|
||||
|
||||
<meta name="theme-color" content="#006db3">
|
||||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
||||
|
@ -11,7 +12,10 @@
|
|||
<meta name="robots" content="noindex">
|
||||
|
||||
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src data: ; script-src 'unsafe-inline' https://*.faircode.eu;">
|
||||
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources -->
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self' 'unsafe-inline'; img-src data: https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png;">
|
||||
|
||||
<style>
|
||||
body { padding-left: 10px; padding-right: 10px; font-family: Arial, Helvetica, sans-serif; }
|
||||
|
@ -27,7 +31,7 @@
|
|||
</noscript>
|
||||
|
||||
<!-- https://github.com/cure53/DOMPurify 2.4.0 -->
|
||||
<script src="https://email.faircode.eu/decrypt/purify.min.js"></script>
|
||||
<script src="purify.min.js"></script>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load', load);
|
||||
|
|
Loading…
Reference in a new issue