Browse Source

fix redirect

New Future 4 months ago
parent
commit
2098f7a7c1
2 changed files with 2 additions and 9 deletions
  1. 1 5
      doc/providers/dnscom.en.md
  2. 1 4
      doc/providers/dnscom.md

+ 1 - 5
doc/providers/dnscom.en.md

@@ -1,5 +1,5 @@
 ---
-redirect_to: 51dns.en.md
+redirect_to: /doc/providers/51dns.en.html
 ---
 
 # DNS.COM Configuration Guide
@@ -7,7 +7,3 @@ redirect_to: 51dns.en.md
 **DNS.COM has been renamed to 51DNS, redirecting to the new page...**
 
 If the page doesn't redirect automatically, please click: [51DNS Configuration Guide](51dns.en.md)
-
-<script>
-window.location.href = '51dns.en.html';
-</script>

+ 1 - 4
doc/providers/dnscom.md

@@ -1,5 +1,5 @@
 ---
-redirect_to: 51dns.md
+redirect_to: /doc/providers/51dns.html
 ---
 
 # DNS.COM 配置指南
@@ -8,6 +8,3 @@ redirect_to: 51dns.md
 
 如果页面未自动跳转,请点击:[51DNS 配置指南](51dns.md)
 
-<script>
-window.location.href = '51dns.html';
-</script>