MAPG-203 use MULTI_WS_URL environment variable
All checks were successful
default-pipeline default-pipeline #42
All checks were successful
default-pipeline default-pipeline #42
This commit is contained in:
parent
6e03476173
commit
e3771d36ce
@ -17,5 +17,5 @@ GOOGLE_OAUTH_CLIENT_SECRET=your_google_oauth_client_secret
|
|||||||
GOOGLE_ANALITICS_ID=your_google_analytics_id
|
GOOGLE_ANALITICS_ID=your_google_analytics_id
|
||||||
MULTI_INTERNAL_HOST=multi
|
MULTI_INTERNAL_HOST=multi
|
||||||
MULTI_INTERNAL_PORT=5000
|
MULTI_INTERNAL_PORT=5000
|
||||||
MULTI_WS_HOST=mapguesser-dev.ch
|
MULTI_WS_URL=mapguesser-dev.ch:8090
|
||||||
MULTI_WS_PORT=8090
|
MULTI_WS_PORT=8090
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
@section(pageScript)
|
@section(pageScript)
|
||||||
<script>
|
<script>
|
||||||
var multiUrl = '<?= $_ENV['MULTI_WS_HOST'] . ':' . $_ENV['MULTI_WS_PORT'] ?>';
|
var multiUrl = '<?= $_ENV['MULTI_WS_URL'] ?>';
|
||||||
var roomId = <?= isset($roomId) ? '\'' . $roomId . '\'' : 'null' ?>;
|
var roomId = <?= isset($roomId) ? '\'' . $roomId . '\'' : 'null' ?>;
|
||||||
var mapId = <?= isset($mapId) ? '\'' . $mapId . '\'' : 'null' ?>;
|
var mapId = <?= isset($mapId) ? '\'' . $mapId . '\'' : 'null' ?>;
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user