mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
chore: fix load env and treeshaking for vinext (#32928)
This commit is contained in:
@ -42,8 +42,8 @@ export const AMPLITUDE_API_KEY = getStringConfig(
|
||||
'',
|
||||
)
|
||||
|
||||
export const IS_DEV = env.NODE_ENV === 'development'
|
||||
export const IS_PROD = env.NODE_ENV === 'production'
|
||||
export const IS_DEV = process.env.NODE_ENV === 'development'
|
||||
export const IS_PROD = process.env.NODE_ENV === 'production'
|
||||
|
||||
export const SUPPORT_MAIL_LOGIN = env.NEXT_PUBLIC_SUPPORT_MAIL_LOGIN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user