mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
feat(server): 优化静态资源服务与构建配置
- 添加 docs 目录到 .gitignore 忽略列表 - 修复统计脚本 URL 协议为 HTTPS - 更新构建时间戳并新增 Windows 可执行文件构建脚本 - 重构服务端静态资源处理逻辑,支持 Bun 自动嵌入 - 改进 SPA 路由 fallback 机制 - 优化局域网 IP 获取函数变量声明 - 完善 Content-Type 响应头设置 - 移除冗余代码注释,提升可读性
This commit is contained in:
@@ -6,12 +6,13 @@
|
||||
"author": "setube",
|
||||
"private": true,
|
||||
"version": "1.1.0",
|
||||
"buildDate": "2025/12/13 11:11:17",
|
||||
"buildDate": "2025/12/13 14:49:22",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --port 25121",
|
||||
"build": "vue-tsc -b && vite build && node update-build-date.js",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"build-pkg:windows": "bun build ./server.js --compile --minify --outfile ogame.exe"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
|
||||
Reference in New Issue
Block a user