diff --git a/.gitignore b/.gitignore index a547bf3..7a9d1bc 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ dist-ssr *.njsproj *.sln *.sw? + +.vercel diff --git a/vite.config.js b/vite.config.js index b0e1a95..5213cc2 100644 --- a/vite.config.js +++ b/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), } }