💚 fixing webpack config for building app with good env and improve docker build

This commit is contained in:
ChatonDeAru
2024-03-26 03:36:04 +01:00
parent 9d019c085d
commit e18e3415a1
8 changed files with 40 additions and 97 deletions

View File

@@ -52,7 +52,7 @@ const getPlugins = (isWeb: boolean) => {
__DEV__: isDev,
__LOCAL__: isLocal,
__REGISTER_DISCORD_COMMANDS__: isRegisterDiscordCommands,
API_URL: process.env.API_URL || "'http://localhost:3000'",
API_URL: `"${process.env.API_URL}"` || "'http://localhost:3000'",
}),
]