Skip to content

Commit

Permalink
🐛 修复 404 页面相对路径
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelyQuantum authored and zkqiang committed Nov 13, 2022
1 parent 3d74253 commit ee92478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/404.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ page.banner_mask_alpha = theme.page404.banner_mask_alpha

<script>
function redirect() {
location.href = "/";
location.href = "<%- url_for('/') %>";
}
<% if (theme.page404.redirect_delay) { %>
Expand Down

0 comments on commit ee92478

Please sign in to comment.