chore: update site about display

This commit is contained in:
engigu
2025-08-10 17:13:27 +08:00
parent 1c7b0fac25
commit 11ba362232
2 changed files with 4 additions and 5 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ export default defineConfig(() => {
},
},
define: {
__BUILD_TIME__: JSON.stringify(process.env.BUILD_TIME || new Date().toISOString())
__BUILD_TIME__: JSON.stringify(new Date().toISOString()),
'globalThis.__BUILD_TIME__': JSON.stringify(new Date().toISOString()),
},
}
})