-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnetlify.toml
More file actions
64 lines (51 loc) · 1.13 KB
/
Copy pathnetlify.toml
File metadata and controls
64 lines (51 loc) · 1.13 KB
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
[build]
command = "npm run build"
publish = "web/"
functions = "functions"
[dev]
command = "npm run dev"
targetPort = 3000
framework = "#custom"
[context.deploy-preview]
command = "npm run build"
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Referrer-Policy = "strict-origin-when-cross-origin"
[[redirects]]
from = "/dotaznik"
to = "https://forms.gle/YpCbDNyC3vHutJd37"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/konference"
to = "https://www.frontkon.cz"
status = 301
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/discord"
to = "https://www.discord.com/invite/A9sKuZzzya"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/prihlaseni-prednasky"
to = "https://forms.gle/TAyjxZH9YHn8YmKV7"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/*"
to = "/404.html"
status = 404