Skip to content

Commit

Permalink
fix: workadventure env
Browse files Browse the repository at this point in the history
  • Loading branch information
gparant committed Feb 7, 2024
1 parent 95a0aca commit 9ad6fdc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ module.exports = {
patterns: resources,
}),
new webpack.EnvironmentPlugin({
WORKADVENTURE_URL: process.env.WORKADVENTURE_URL
? JSON.stringify(process.env.WORKADVENTURE_URL)
: null,
}),
new webpack.DefinePlugin({
"process.env.WORKADVENTURE_URL": process.env.WORKADVENTURE_URL
? JSON.stringify(process.env.WORKADVENTURE_URL)
: null,
Expand Down

0 comments on commit 9ad6fdc

Please sign in to comment.