fix sidebar logs
This commit is contained in:
1 parent
6c7fefe4ed
commit
549044f973
4 files changed
+51
-10
No files matched your search
@@ -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: "/",
|
||||
|
||||
Reference in new issue
Block a user