aboutsummaryrefslogtreecommitdiff
path: root/netlify.toml
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-03-31 20:26:34 +0200
committerGitHub <[email protected]>2022-03-31 20:26:34 +0200
commit48dcec18136e437dc537f0a58f30379a8ce531e8 (patch)
tree251a6c3aaa152d85e20126ca77319be8d22323d0 /netlify.toml
parent03041201c21ad599bbe1874c375f4f41b94961ba (diff)
downloadfaker-48dcec18136e437dc537f0a58f30379a8ce531e8.tar.xz
faker-48dcec18136e437dc537f0a58f30379a8ce531e8.zip
docs: about (#673)
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
index e876aa72..1095db51 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -20,3 +20,10 @@
to = "https://stackblitz.com/edit/faker-js-demo?file=index.ts"
status = 301
force = true
+
+# Redirect old update page to new announcement section
+[[redirects]]
+ from = "/update.html"
+ to = "https://fakerjs.dev/about/announcements/2022-01-14.html"
+ status = 301
+ force = true