-
Notifications
You must be signed in to change notification settings - Fork 10
/
netlify.toml
48 lines (38 loc) · 847 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
46
47
48
[dev]
publish = "_site"
command = "npm run dev"
[build]
command = "npm run build"
functions = "src/_functions/"
edge_functions = "src/_edge-functions/"
# redirects
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
[[redirects]]
from = "/topics"
to = "/topics/webdev/"
status = 308
[[redirects]]
from = "/faqs"
to = "/blog/faqs/"
status = 301
[[redirects]]
from = "/github"
to = "https://github.com/whitep4nth3r"
status = 301
[[redirects]]
from = "/discord"
to = "https://discord.gg/GQbXUVCneJ"
status = 301
[[redirects]]
from = "/newsletter"
to = "https://buttondown.email/weirdwidewebhole"
status = 301
[[redirects]]
from = "/keyboard"
to = "https://collabs.shop/mmjqxo"
status = 301
[images]
remote_images = ["https://static-cdn.jtvnw.net/cf_vods/.*"]