【调整】打包配置调整

This commit is contained in:
chenzhihua
2025-07-17 14:02:54 +08:00
parent 260601055f
commit 074f2c5903
78 changed files with 1358 additions and 825 deletions

18
static/build/404.html Normal file
View 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>