Skip to content

Commit ee92478

Browse files
LovelyQuantumzkqiang
authored andcommitted
🐛 修复 404 页面相对路径
1 parent 3d74253 commit ee92478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/404.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ page.banner_mask_alpha = theme.page404.banner_mask_alpha
99

1010
<script>
1111
function redirect() {
12-
location.href = "/";
12+
location.href = "<%- url_for('/') %>";
1313
}
1414
1515
<% if (theme.page404.redirect_delay) { %>

0 commit comments

Comments
 (0)