- 数据库默认文件 filecodebox.db → fileshare.db(config.go 默认值与全部文档/编排同步)
- Go module filecodebox → fileshare(全部 import 同步,build/vet/test 全绿)
- 应用版本 APP_VERSION 2.5.6 → 26.9(health 接口已验证返回 26.9)
- deploy 编排统一:compose 项目名、Postgres 默认凭据、minio 桶名、env 注释
- JWT issuer、存储临时目录前缀、web 包名同步 fileshare
- CI:镜像 tag 以 APP_VERSION 为唯一版本源,main/tag 推送即发布
${VER} + latest;tag 触发时校验 tag 名与 APP_VERSION 一致,防错版
- 本地开发库文件已改名 fileshare.db(含 -shm/-wal 清理)
37 lines
1.4 KiB
HTML
37 lines
1.4 KiB
HTML
<!doctype html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<meta name="description" content="文件快传 - 开箱即用的文件快传系统" />
|
||
<!-- 需求②:首帧防闪烁——读 localStorage 主题模式并写入 html[data-theme](App 启动后由 theme 模块接管) -->
|
||
<script>
|
||
;(function () {
|
||
try {
|
||
var m = localStorage.getItem('fcb_theme_mode')
|
||
var dark = m === 'dark' || (m !== 'light' && window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||
document.documentElement.dataset.theme = dark ? 'dark' : 'light'
|
||
} catch (e) {
|
||
document.documentElement.dataset.theme = 'light'
|
||
}
|
||
})()
|
||
</script>
|
||
<!-- 需求④:默认 favicon 使用本地打包资源;管理端可在系统设置中自定义 favicon_url 全站替换 -->
|
||
<link rel="icon" type="image/png" href="/assets/favicon-Dl6ZLL7S.png" />
|
||
<title>文件快传 · 文件快传</title>
|
||
<style>
|
||
html {
|
||
background: #eef1f6;
|
||
}
|
||
html[data-theme='dark'] {
|
||
background: #0b0f1a;
|
||
}
|
||
</style>
|
||
<script type="module" crossorigin src="/assets/index-BKnWAKao.js"></script>
|
||
<link rel="stylesheet" crossorigin href="/assets/index-CtyCxWf5.css">
|
||
</head>
|
||
<body>
|
||
<div id="app"></div>
|
||
</body>
|
||
</html>
|