From 68785ac5eb09191cca20a7a84910463b00cc2ff5 Mon Sep 17 00:00:00 2001 From: Northword Date: Wed, 30 Oct 2024 12:35:23 +0800 Subject: [PATCH] fix: redirect netlify users to main domin fixes: #100 --- src/public/_redirects | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/public/_redirects diff --git a/src/public/_redirects b/src/public/_redirects new file mode 100644 index 0000000..03b35da --- /dev/null +++ b/src/public/_redirects @@ -0,0 +1,6 @@ +# https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file + +# Redirect netlify users to main domin +# https://github.com/zotero-chinese/website/issues/100 +https://zotero-zh.netlify.app/* https://zotero-chinese.com/:splat 301! +https://main--zotero-zh.netlify.app/* https://zotero-chinese.com/:splat 301!