-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy pathcsp.html
29 lines (26 loc) · 1.21 KB
/
csp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<meta charset="UTF-8" />
<meta content="width=device-width,initial-scale=1" name="viewport"/>
<meta http-equiv="Content-Security-Policy"
content="
default-src 'self';
frame-src https://social.uploadcare.com/;
script-src-elem 'self' 'nonce-local' https://ucarecdn.com/libs/widget/3.x/uploadcare.full.min.js https://ucarecdn.com/libs/widget-tab-effects/1.x/uploadcare.tab-effects.js;
img-src https://ucarecdn.com blob: data:;
media-src blob:;
style-src 'sha256-z2tSHZZND7S0k4apE+cUuKYecpmTP6hEpQNUsBKJ7/k=' 'sha256-Svhv+Czr4YhnAxqEBWYz7xQFr62J0XStJJwc2l72URI=';
connect-src https://upload.uploadcare.com https://uploadcare.s3-accelerate.amazonaws.com wss://ws.pusherapp.com ws://ws.pusherapp.com
"
>
<script src="./uploadcare.full.js"></script>
<!-- <script src="https://ucarecdn.com/libs/widget/3.x/uploadcare.full.min.js"></script> -->
<script src="https://ucarecdn.com/libs/widget-tab-effects/1.x/uploadcare.tab-effects.js"></script>
<script nonce="local">
uploadcare.registerTab('preview', uploadcareTabEffects)
</script>
<input
type="hidden"
role="uploadcare-uploader"
data-public-key="demopublickey"
data-multiple="true"
data-preview-step=""
/>