LeagueStats/netlify.toml
2023-10-10 21:21:43 +02:00

19 lines
577 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"
[[redirects]]
from = "/api/event"
to = "https://plausible.io/api/event"