feat: 交付官方 Docker 运行时,外观改背景图并下线自定义 CSS/JS
站点/后台分轨背景与用户列表排序一并落地;生产 CORS 改走 SITE_URL,健康检查带版本号。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
9
backend/version/version.go
Normal file
9
backend/version/version.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Package version 由构建注入发布号;本地 go run 为 dev。
|
||||
package version
|
||||
|
||||
var (
|
||||
// Version 与仓库根 VERSION 对齐,Docker / ldflags 写入。
|
||||
Version = "dev"
|
||||
// Commit 短 sha,未知则为 unknown。
|
||||
Commit = "unknown"
|
||||
)
|
||||
Reference in New Issue
Block a user