OSDN Git Service

opentween.org 以外のドメインに対するリダイレクト設定を追加
authorKimura Youichi <kim.upsilon@bucyou.net>
Mon, 10 Dec 2018 17:50:32 +0000 (02:50 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Mon, 10 Dec 2018 17:50:32 +0000 (02:50 +0900)
netlify.toml

index 254027a..55cb1c5 100644 (file)
@@ -12,3 +12,21 @@ from = '/'
 to = 'https://osdn.net/projects/opentween/'
 status = 302
 force = true
+
+[[redirects]]
+from = 'https://opentween.netlify.com/*'
+to = 'https://www.opentween.org/:splat'
+status = 301
+force = true
+
+[[redirects]]
+from = 'https://opentween.jp/*'
+to = 'https://www.opentween.org/:splat'
+status = 301
+force = true
+
+[[redirects]]
+from = 'https://www.opentween.jp/*'
+to = 'https://www.opentween.org/:splat'
+status = 301
+force = true