Redirecting to the correct map after login screen based on URL provided
This commit is contained in:
parent
daa559738b
commit
faadacddb6
11 changed files with 49 additions and 43 deletions
|
@ -49,7 +49,7 @@
|
|||
{
|
||||
"name":"exitSceneUrl",
|
||||
"type":"string",
|
||||
"value":"\/Floor1\/floor1.json"
|
||||
"value":"..\/Floor1\/floor1.json"
|
||||
}],
|
||||
"type":"tilelayer",
|
||||
"visible":true,
|
||||
|
@ -67,7 +67,7 @@
|
|||
{
|
||||
"name":"exitSceneUrl",
|
||||
"type":"string",
|
||||
"value":"\/Lyon\/lyon.json"
|
||||
"value":"..\/Lyon\/lyon.json"
|
||||
}],
|
||||
"type":"tilelayer",
|
||||
"visible":true,
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
{
|
||||
"name":"exitSceneUrl",
|
||||
"type":"string",
|
||||
"value":"\/Floor0\/floor0.json"
|
||||
"value":"..\/Floor0\/floor0.json"
|
||||
}],
|
||||
"type":"tilelayer",
|
||||
"visible":true,
|
||||
|
|
BIN
back/src/Assets/Maps/Lyon/floortileset.png
Normal file
BIN
back/src/Assets/Maps/Lyon/floortileset.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
|
@ -37,7 +37,7 @@
|
|||
{
|
||||
"name":"exitSceneUrl",
|
||||
"type":"string",
|
||||
"value":"\/Floor0\/floor0.json"
|
||||
"value":"..\/Floor0\/floor0.json"
|
||||
}],
|
||||
"type":"tilelayer",
|
||||
"visible":true,
|
||||
|
|
BIN
back/src/Assets/Maps/Lyon/tilesets_deviant_milkian_1.png
Normal file
BIN
back/src/Assets/Maps/Lyon/tilesets_deviant_milkian_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
|
@ -20,7 +20,7 @@ export class MapController {
|
|||
getMaps() {
|
||||
this.App.get("/maps", (req: Request, res: Response) => {
|
||||
return res.status(OK).send({
|
||||
mapUrlStart: URL_ROOM_STARTED
|
||||
mapUrlStart: req.headers.host + "/map/files" + URL_ROOM_STARTED
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue