diff --git a/env.d.ts b/env.d.ts
index 53d05202..18bdc8fe 100644
--- a/env.d.ts
+++ b/env.d.ts
@@ -2,13 +2,13 @@
///
interface ImportMetaEnv {
- VITE_PLAUSIBLE_API_HOST: string;
- VITE_PLAUSIBLE_DOMAIN: string;
- PACKAGE_VERSION: string;
- PROD: boolean;
- }
-
- interface ImportMeta {
- readonly env: ImportMetaEnv;
- }
-
\ No newline at end of file
+ VITE_PLAUSIBLE_API_HOST: string;
+ VITE_PLAUSIBLE_DOMAIN: string;
+ PACKAGE_VERSION: string;
+ GIT_SHORT_SHA: string;
+ PROD: boolean;
+}
+
+interface ImportMeta {
+ readonly env: ImportMetaEnv;
+}
diff --git a/src/layouts/base.layout.vue b/src/layouts/base.layout.vue
index 41700a49..28571a5e 100644
--- a/src/layouts/base.layout.vue
+++ b/src/layouts/base.layout.vue
@@ -16,6 +16,7 @@ const activeKey = ref(null)
const route = useRoute()
const styleStore = useStyleStore()
const version = import.meta.env.PACKAGE_VERSION;
+const commitSha = import.meta.env.GIT_SHORT_SHA;
const makeLabel = (text: string, to: string) => () => h(RouterLink, { to }, { default: () => text })
const makeIcon = (icon: Component) => () => h(NIcon, null, { default: () => h(icon) })
@@ -75,8 +76,8 @@ const m = toolsByCategory.map(category => ({