website/netlify.toml
lannyfu fd182f3727 fix: Add /en/learn and redirect to /zh/learn
Signed-off-by: lannyfu <lannyfu@kubesphere.io>
2023-10-19 08:54:22 +08:00

31 lines
570 B
TOML

[context.production.environment]
HUGO_VERSION = "0.118.2"
[context.deploy-preview.environment]
HUGO_VERSION = "0.118.2"
[[redirects]]
from = "/log/*"
to = "https://log.kubesphere.io/:splat"
status = 308
force = true
[[redirects]]
from = "/tr/forum/*"
to = "http://139.198.113.75:9900/tr/forum/:splat"
status = 200
force = true
[[redirects]]
from = "/forum/*"
to = "https://ask.kubesphere.io/forum/:splat"
status = 301
force = true
[[redirects]]
from = "/forum/"
to = "https://ask.kubesphere.io/forum/"
status = 301
force = true