Update
This commit is contained in:
parent
d49d224ba4
commit
695b10820e
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue