Update
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -22,3 +22,5 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
.vercel
|
||||
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user