Update
This commit is contained in:
parent
d49d224ba4
commit
695b10820e
|
@ -22,3 +22,5 @@ dist-ssr
|
||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
.vercel
|
||||||
|
|
|
@ -4,7 +4,7 @@ import child_process from "child_process"
|
||||||
*/
|
*/
|
||||||
const config = {
|
const config = {
|
||||||
define: {
|
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),
|
'__APP_BUILD_TIME': Math.floor(Date.now() / 1000),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue