Skip to content

Commit a42ea40

Browse files
committed
hack to allow workadventure to operate under http
1 parent 403400b commit a42ea40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

front/src/Phaser/Game/GameScene.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class GameScene extends ResizableScene implements CenterListener {
158158
this.groups = new Map<number, Sprite>();
159159
this.instance = room.getInstance();
160160

161-
this.MapUrlFile = MapUrlFile;
161+
this.MapUrlFile = MapUrlFile.replace("http://","https://");
162162
this.RoomId = room.id;
163163

164164
this.createPromise = new Promise<void>((resolve, reject): void => {

0 commit comments

Comments
 (0)