From 4a823293ccc42e15579316431300a754e1894e1f Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Sat, 19 Sep 2026 08:46:11 +0200 Subject: [PATCH] fix(constants): align dev BackendVersion default with shipped frontend The default was stale at 4.14.0 while frontend/package.json and the embedded statics build at 4.19.1, producing a startup version-mismatch warning and wrong /site/ping output in dev builds. Release builds still inject the tag via ldflags. Authored By: TDvorak Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- application/constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/constants/constants.go b/application/constants/constants.go index bf97df7f..2c737aa7 100644 --- a/application/constants/constants.go +++ b/application/constants/constants.go @@ -3,7 +3,7 @@ package constants // These values will be injected at build time, DO NOT EDIT. // BackendVersion 当前后端版本号 -var BackendVersion = "4.14.0" +var BackendVersion = "4.19.1" // IsPro 是否为Pro版本 var IsPro = "false"