-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathnetlify.toml
39 lines (34 loc) · 914 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
[dev]
command = "npm run start"
publish = ".publish"
port = 9999
targetPort = 3003
[[redirects]]
from = "https://www.replay.beatleader.xyz/*"
to = "https://replay.beatleader.xyz/:splat"
status = 301
force = true
[[redirects]]
from = "/cors/beat-saver2/*"
to = "https://beatsaver.com/:splat"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/cors/beat-saver-cdn/*"
to = "https://eu.cdn.beatsaver.com/:splat"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/preview.png"
to = "https://api.beatleader.xyz/preview/replay/"
status = 200
force = true
headers = {X-From = "Netlify", origin = "Netlify"}
[[redirects]]
from = "/cors/discord-cdn/*"
to = "https://cdn.discordapp.com/:splat"
status = 200
force = true
headers = {X-From = "Netlify"}