Button "CREATE MAP" must redirect user on production server

This commit is contained in:
Gregoire Parant 2021-04-12 20:44:29 +02:00
parent 1693819b6a
commit 270cdb5c82

View File

@ -319,7 +319,9 @@ export class MenuScene extends Phaser.Scene {
} }
private gotToCreateMapPage() { private gotToCreateMapPage() {
const sparkHost = 'https://'+window.location.host.replace('play.', '')+'/choose-map.html'; //const sparkHost = 'https://'+window.location.host.replace('play.', '')+'/choose-map.html';
//TODO fix me: this button can to send us on WorkAdventure BO.
const sparkHost = 'https://workadventu.re/choose-map.html';
window.open(sparkHost, '_blank'); window.open(sparkHost, '_blank');
} }