fix sidebar logs

This commit is contained in:
Alex Holliday committed 2025-06-25 12:38:57 +08:00
1 parent 6c7fefe4ed
commit 549044f973
4 files changed
+51 -10

No files matched your search

+1 -8
View File
@@ -5,14 +5,7 @@ import { execSync } from "child_process";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
let version;
try {
version =
env.VITE_APP_VERSION ||
execSync("git describe --tags --abbrev=0").toString().trim();
} catch (error) {
version = "unknown";
}
let version = 2.2;
return {
base: "/",