-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
45 lines (35 loc) · 1.22 KB
/
netlify.toml
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
[build]
publish = "public"
functions = "functions"
[build.environment]
HUGO_VERSION = "0.80.0"
NODE_VERSION = "15.5.1"
NPM_VERSION = "7.3.0"
[context.production]
command = "hugo -b $URL --gc --minify && npm run build:functions"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL --gc --minify"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
X-XSS-Protection = "0"
X-Content-Type-Options = "nosniff"
Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline' https://www.youtube.com https://fonts.googleapis.com; form-action 'self'; script-src 'self'; connect-src 'self'; img-src 'self'; base-uri 'self'; frame-src 'self' https://www.youtube.com;font-src 'self' https://fonts.gstatic.com;"
[[redirects]]
from = "/sharing"
to = "https://us04web.zoom.us/j/72559878268?pwd=skwgJ-FheeTnWs4Fu22Pk4aeLycNGo.1"
status = 302
force = false
[[redirects]]
from = "/meet"
to = "https://meet.google.com/odz-noyt-nsf"
status = 302
force = false
[[redirects]]
from = "/meeting"
to = "https://meet.qiscus.com/mobile-innocent"
status = 302
force = false