forked from fac18/safe-space
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
45 lines (36 loc) · 956 Bytes
/
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]
command = "npm run build"
functions = "functions"
publish = "build"
[context.production]
environment = { NODE_ENV = "production" }
[context.deploy-preview]
environment = { NODE_ENV = "production" }
[context.branch-deploy]
environment = { NODE_ENV = "production" }
[dev]
# any configs specific to running 'netlify dev' go here
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[redirects]]
from = "https://www.musafespace.co.uk/*"
to = "https://www.musafespace.org.uk/:splat"
status = 301
force = true
[[redirects]]
from = "https://musafespace.co.uk/*"
to = "https://www.musafespace.org.uk/:splat"
status = 301
force = true
[[redirects]]
from = "https://musafespace.netlify.com/*"
to = "https://www.musafespace.org.uk/:splat"
status = 301
force = true
[[redirects]]
from = "https://musafespace.netlify.app/*"
to = "https://www.musafespace.org.uk/:splat"
status = 301
force = true