Urgent fix server app version dev (#3117)

* fix(server): avoid app version global in MCP dev

* fix(server): use runtime-safe app version metadata
This commit is contained in:
Lihan YANG
2026-05-29 00:13:45 +02:00
committed by GitHub
parent 9ce5bacd22
commit d09ad2cdc0
5 changed files with 9 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
export const appVersion = typeof __APP_VERSION__ === "undefined" ? "0.0.0" : __APP_VERSION__;