LeagueStats/netlify.toml

20 lines
577 B
TOML
Raw Normal View History

# 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"
2023-10-10 19:21:43 +00:00
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"