yarkov.tech/netlify.toml
2022-08-18 22:50:12 +03:00

18 lines
518 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[build]
command = "npm run build"
publish = "dist"
[[redirects]]
from = "/*"
to = "/en/:splat"
status = 301
# By default, redirects won’t be applied if there’s a file with the same
# path as the one defined in the `from` property. Setting `force` to `true`
# will make the redirect rule take precedence over any existing files.
force = true
# Redirect based on conditions including browser language, geolocation,
# identity role, and/or cookie presence.
conditions = {Language = ["en"]}