LeagueStats/netlify.toml
2023-10-10 22:10:37 +02:00

21 lines
607 B
TOML

# Global settings applied to the whole site.
#
# “base” is the directory to change to before starting build. If you set base:
# that is where we will look for package.json/.nvmrc/etc, not repo root!
# “command” is your build command.
# “publish” is the directory to publish (relative to the root of your repo).
[build]
base = "client"
command = "npm run build"
publish = "client/dist"
[[redirects]]
from = "/js/script.js"
to = "https://plausible.io/js/script.js"
status = 200
[[redirects]]
from = "/api/event"
to = "https://plausible.io/api/event"
status = 200