Skip to content

Commit

Permalink
fix: redirect netlify users to main domin
Browse files Browse the repository at this point in the history
fixes: #100
  • Loading branch information
northword committed Oct 30, 2024
1 parent d7fcc7f commit 68785ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/public/_redirects
Original file line number Diff line number Diff line change
@@ -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!

0 comments on commit 68785ac

Please sign in to comment.