Skip to content

Commit

Permalink
fix: #550 #540 docker version error
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Dec 19, 2024
1 parent 9224936 commit 3113892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
export const isDev = process.dev
export const isDev = typeof process === "undefined" ? false : process?.dev
// export const isDev = import.meta.dev
// https://github.com/nuxt/nuxt/discussions/18779#discussioncomment-5082909
// typeof process === "undefined" ? false : process?.env?.DEV_MODE === "true"

0 comments on commit 3113892

Please sign in to comment.