[Breaking change] UPLOADER_URL and ADMIN_URL are now true URLs (and not only host name) and API_URL is replaced by PUSHER_URL

API_URL is still accepted for BC compatibility of the self-hosted deployments.

This will allow deploying on a single domain, using a reverse proxy that acts on the path.
This however means that the config needs to be changed for all WorkAdventure deployments.
This commit is contained in:
David Négrier 2021-03-31 16:00:14 +02:00
parent cd7a332b4c
commit 3ef1f0dc7b
12 changed files with 29 additions and 24 deletions

View file

@ -70,6 +70,7 @@ module.exports = {
}),
new webpack.EnvironmentPlugin([
'API_URL',
'PUSHER_URL',
'UPLOADER_URL',
'ADMIN_URL',
'DEBUG_MODE',