Fixing missing API_URL warning

This commit is contained in:
David Négrier 2021-03-31 16:20:11 +02:00
parent 3ef1f0dc7b
commit f2e64c8763

View File

@ -68,20 +68,20 @@ module.exports = {
new webpack.ProvidePlugin({ new webpack.ProvidePlugin({
Phaser: 'phaser' Phaser: 'phaser'
}), }),
new webpack.EnvironmentPlugin([ new webpack.EnvironmentPlugin({
'API_URL', 'API_URL': null,
'PUSHER_URL', 'PUSHER_URL': undefined,
'UPLOADER_URL', 'UPLOADER_URL': null,
'ADMIN_URL', 'ADMIN_URL': null,
'DEBUG_MODE', 'DEBUG_MODE': null,
'STUN_SERVER', 'STUN_SERVER': null,
'TURN_SERVER', 'TURN_SERVER': null,
'TURN_USER', 'TURN_USER': null,
'TURN_PASSWORD', 'TURN_PASSWORD': null,
'JITSI_URL', 'JITSI_URL': null,
'JITSI_PRIVATE_MODE', 'JITSI_PRIVATE_MODE': null,
'START_ROOM_URL' 'START_ROOM_URL': null
]) })
], ],
}; };