Compare commits

..

No commits in common. "ace490b7e9e0aaf4212042b9fb252573aaa70184" and "6e03476173e267c5107d501799dd64033c3134ed" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -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_URL=mapguesser-dev.ch:8090 MULTI_WS_HOST=mapguesser-dev.ch
MULTI_WS_PORT=8090 MULTI_WS_PORT=8090

View File

@ -59,7 +59,7 @@
@section(pageScript) @section(pageScript)
<script> <script>
var multiUrl = '<?= $_ENV['MULTI_WS_URL'] ?>'; var multiUrl = '<?= $_ENV['MULTI_WS_HOST'] . ':' . $_ENV['MULTI_WS_PORT'] ?>';
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>