Skip to content

Commit

Permalink
fix(web): json stringify commitHash in vite
Browse files Browse the repository at this point in the history
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
  • Loading branch information
KeisukeYamashita committed Oct 9, 2024
1 parent 600b186 commit 692d31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineConfig({
envPrefix: "REEARTH_CMS_",
define: {
__APP_VERSION__: JSON.stringify(pkg.version),
__REEARTH_COMMIT_HASH__: JSON.stringify(process.env.GITHUB_SHA) || commitHash
__REEARTH_COMMIT_HASH__: JSON.stringify(process.env.GITHUB_SHA || commitHash)
},
plugins: [
react(),
Expand Down

0 comments on commit 692d31f

Please sign in to comment.