From 270cdb5c8209e786f293caa23b754a9eba37757f Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Mon, 12 Apr 2021 20:44:29 +0200 Subject: [PATCH] Button "CREATE MAP" must redirect user on production server --- front/src/Phaser/Menu/MenuScene.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts index 6d09f247..9093c618 100644 --- a/front/src/Phaser/Menu/MenuScene.ts +++ b/front/src/Phaser/Menu/MenuScene.ts @@ -319,7 +319,9 @@ export class MenuScene extends Phaser.Scene { } 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'); }