OSDN Git Service

ドメインエイリアスに対するリダイレクト設定を優先する
authorKimura Youichi <kim.upsilon@bucyou.net>
Mon, 10 Dec 2018 17:53:53 +0000 (02:53 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Mon, 10 Dec 2018 17:54:57 +0000 (02:54 +0900)
netlify.toml

index 55cb1c5..36fb210 100644 (file)
@@ -8,12 +8,6 @@ for = '*.txt'
   Content-Type = 'text/plain; charset=utf-8'
 
 [[redirects]]
-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
@@ -30,3 +24,9 @@ from = 'https://www.opentween.jp/*'
 to = 'https://www.opentween.org/:splat'
 status = 301
 force = true
+
+[[redirects]]
+from = '/'
+to = 'https://osdn.net/projects/opentween/'
+status = 302
+force = true