-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathscriptUrls.js
97 lines (94 loc) · 2.38 KB
/
scriptUrls.js
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
const scriptSrcUrls = [
'https://*.google-analytics.com',
'https://identitytoolkit.googleapis.com',
'https://*.hotjar.com',
'https://*.storyblok.com',
'https://*.newrelic.com',
'https://*.nr-data.net',
'https://*.crisp.chat',
'https://*.googletagmanager.com',
'https://vercel.live',
'https://*.noembed.com',
'https://*.youtube.com',
'https://www.youtube.com',
'https://*.googleapis.com',
'https://noembed.com',
'https://www.youtube.com',
'https://*.hotjar.io',
'https://*.rollbar.com',
'https://*.simplybook.it',
'https://*.zapier.com',
'https://fonts.googleapis.com',
'https://static.hotjar.com',
'https://app.storyblok.com',
'https://client.crisp.chat',
process.env.NEXT_PUBLIC_API_URL,
'wss://client.relay.crisp.chat',
];
const childSrcUrls = ['blob:'];
const workerSrcUrls = ['blob:', 'https://*.youtube.com'];
const styleSrcUrls = [
'https://fonts.googleapis.com',
'https://static.hotjar.com',
'https://app.storyblok.com',
'https://client.crisp.chat',
'https://*.google-analytics.com',
];
const fontSrcUrls = [
'https://fonts.gstatic.com',
'https://*.hotjar.com',
'https://*.crisp.chat',
'https://*.youtube.com',
];
const imgSrcUrls = [
'https://*.hotjar.com',
'https://*.storyblok.com',
'https://*.crisp.chat',
'https://*.googletagmanager.com',
'https://i.ytimg.com',
];
const connectSrcUrls = [
'https://*.hotjar.com',
'wss://ws.hotjar.com',
'https://*.googletagmanager.com',
'https://*.googleapis.com',
'https://*.google-analytics.com',
'https://identitytoolkit.googleapis.com',
'https://*.storyblok.com',
'https://*.rollbar.com',
'https://*.simplybook.it',
'https://*.zapier.com',
'https://*.nr-data.net',
'wss://client.relay.crisp.chat',
'https://*.crisp.chat',
'https://*.noembed.com',
'https://noembed.com',
'https://*.youtube.com',
'https://www.youtube.com',
];
const frameSrcUrls = [
'https://*.hotjar.com',
'https://*.storyblok.com',
'https://*.crisp.chat',
'https://*.simplybook.it',
'https://*.youtube.com',
'https://vercel.live',
];
const objectSrcUrls = ['none'];
const baseUriUrls = ['self'];
const formActionUrls = ['self'];
const frameAncestorsUrls = ['self'];
module.exports = {
scriptSrcUrls,
childSrcUrls,
workerSrcUrls,
styleSrcUrls,
fontSrcUrls,
imgSrcUrls,
connectSrcUrls,
frameSrcUrls,
objectSrcUrls,
baseUriUrls,
formActionUrls,
frameAncestorsUrls,
};