mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-14 02:20:53 +08:00
【调整】打包配置调整
This commit is contained in:
18
static/build/404.html
Normal file
18
static/build/404.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="./favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>AllinSSL</title>
|
||||
<script>
|
||||
// SPA路由回退处理
|
||||
// 将当前路径存储到sessionStorage,然后重定向到根路径
|
||||
sessionStorage.setItem('redirectPath', location.pathname + location.search + location.hash);
|
||||
location.replace('/');
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user