Browse Source

Update

main
186526 2 months ago
parent
commit
695b10820e
Signed by: 186526
GPG Key ID: C7EB1E6B8CC5E51D
  1. 2
      .gitignore
  2. 2
      vite.config.js

2
.gitignore vendored

@ -22,3 +22,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.vercel

2
vite.config.js

@ -4,7 +4,7 @@ import child_process from "child_process"
*/
const config = {
define: {
'__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replaceAll("\n",""),
'__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replace("\n",""),
'__APP_BUILD_TIME': Math.floor(Date.now() / 1000),
}
}

Loading…
Cancel
Save