This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
scoresaber-reloaded/netlify.toml

35 lines
665 B
TOML

[build]
publish = "public/"
[functions]
directory = "functions"
[[redirects]]
from = "/cors/beat-savior/*"
to = "https://www.beatsavior.io/api/livescores/player/:splat"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = "/cors/score-saber/*"
to = "https://www.scoresaber.com/:splat"
status = 200
force = true
headers = {X-From = "Netlify"}
[[redirects]]
from = '/build/*'
to = '/build/:splat'
status = 200
[[redirects]]
from = '/assets/*'
to = '/assets/:splat'
status = 200
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
force = true