Skip to content

Commit

Permalink
🔧 修复模板 404 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Jan 2, 2020
1 parent 08dcdb6 commit 8aee640
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/webapp/error/404.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
<script src="${staticServePath}/js/bolo/jquery.cookie.min.js"></script>
<#include "../common-template/macro-common_page.ftl">

<@commonPage "404 页面未找到">
Expand All @@ -25,4 +27,7 @@
<div class="a-error">
<a href="${loginURL}">登录</a> | <a href="${servePath}">返回主页</a>
</div>
<script>
$.removeCookie('skin');
</script>
</@commonPage>

0 comments on commit 8aee640

Please sign in to comment.