Update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-04-30 15:53:11 +08:00
parent 18c971b84a
commit bff4f6c1a6
3 changed files with 10 additions and 4 deletions

View File

@ -5,6 +5,7 @@ import legacy from '@vitejs/plugin-legacy';
* @type {import('vite').UserConfig}
*/
const config = {
base: './',
define: {
'__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replace("\n",""),
'__APP_BUILD_TIME': Math.floor(Date.now() / 1000),