about summary refs log tree commit diff
path: root/netlify.toml
blob: c1ca5fe00ae0233deb7e044ab648379898695deb (plain)
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
[build]

publish = "dist/"
command = "npm run build"

[[redirects]]
 from = "/api/*"
 to = "https://api-puszcza.netlify.com/api/:splat"
 status = 200
 force = true

[[redirects]]
 from = "/admin/*"
 to = "https://api-puszcza.netlify.com/admin/:splat"
 status = 301
 force = true

[[redirects]]
 from = "/rss.xml"
 to = "https://api-puszcza.netlify.com/rss.xml"
 status = 200
 force = true

[[redirects]]
 from = "/net"
 to = "https://19pdh.github.io/puszczanet/"
 status = 200
 force = true