Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@
[build.environment]
# Astro 6 requires Node >=22.12; "22" resolves to the latest 22.x on Netlify.
NODE_VERSION = "22"

# The wiki moved to wiki.citizeninfra.org on 2026-08-02. Setting a primary
# custom domain in Netlify does NOT redirect the .netlify.app subdomain to it
# — both hosts kept serving 200 — so the redirect has to be declared here.
#
# force = true is required: without it this rule loses to the static file that
# exists at every path on the site, and the redirect silently never fires.
# :splat preserves the path, so deep links survive rather than all landing on
# the homepage.
[[redirects]]
from = "https://citizen-infra.netlify.app/*"
to = "https://wiki.citizeninfra.org/:splat"
status = 301
force = true
Loading