فهرست منبع

【修复】修复自定义 404 页面自动跳转路径问题

- 在 404.html 页面中,修改了自动跳转的 URL 路径
- 通过添加 "../../../" 前缀,确保跳转到正确的相对路径
PJ568 1 سال پیش
والد
کامیت
f012709cef
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      404.html

+ 1 - 1
404.html

@@ -224,7 +224,7 @@
 
               if (countdown <= 0) {
                 clearInterval(countdownInterval);
-                window.location.href = autoRedirectPackage.location;
+                window.location.href = "../../../" + autoRedirectPackage.location;
               }
             }, 1000);
           }