This repository was archived by the owner on Jun 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
97 lines (81 loc) · 1.85 KB
/
netlify.toml
File metadata and controls
97 lines (81 loc) · 1.85 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
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
[build]
ignore = "if [ ${COMMIT_REF} == ${CACHED_COMMIT_REF} ] ; then false ; else git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ../devcon-archive ../lib ; fi"
command = "yarn build"
publish = "public"
functions = "server/functions"
[[plugins]]
package = "netlify-plugin-gatsby-cache"
[[redirects]]
from = '/api/*'
to = '/.netlify/functions/api/:splat'
status = 200
[[redirects]]
from = "/app/*"
to = "/app/index.html"
status = 200
[[redirects]]
from = "/"
to = "/archive/"
status = 302
force = true
# Archive
[[redirects]]
from = "/devcon-5/details"
to = "/archive/playlists/devcon-5"
status = 302
force = true
[[redirects]]
from = "/devcon-5/videos/*"
to = "/archive/watch?event=devcon-5"
status = 302
force = true
[[redirects]]
from = "/devcon-4/details"
to = "/archive/playlists/devcon-4"
status = 302
force = true
[[redirects]]
from = "/devcon-4/videos/*"
to = "/archive/watch?event=devcon-4"
status = 302
force = true
[[redirects]]
from = "/devcon-3/details"
to = "/archive/playlists/devcon-3"
status = 302
force = true
[[redirects]]
from = "/devcon-3/videos/*"
to = "/archive/watch?event=devcon-3"
status = 302
force = true
[[redirects]]
from = "/devcon-2/details"
to = "/archive/playlists/devcon-2"
status = 302
force = true
[[redirects]]
from = "/devcon-2/videos/*"
to = "/archive/watch?event=devcon-2"
status = 302
force = true
[[redirects]]
from = "/devcon-1/details"
to = "/archive/playlists/devcon-1"
status = 302
force = true
[[redirects]]
from = "/devcon-1/videos/*"
to = "/archive/watch?event=devcon-1"
status = 302
force = true
[[redirects]]
from = "/devcon-0/details"
to = "/archive/playlists/devcon-0"
status = 302
force = true
[[redirects]]
from = "/devcon-0/videos/*"
to = "/archive/watch?event=devcon-0"
status = 302
force = true