Moving maps to their own container
This commit is contained in:
parent
ed146226cf
commit
2484e4f1df
25 changed files with 140 additions and 4 deletions
|
@ -19,8 +19,9 @@ export class MapController {
|
|||
// Returns a map mapping map name to file name of the map
|
||||
getStartMap() {
|
||||
this.App.get("/start-map", (req: Request, res: Response) => {
|
||||
let url = req.headers.host?.replace('api.', 'maps.') + URL_ROOM_STARTED;
|
||||
res.status(OK).send({
|
||||
mapUrlStart: req.headers.host + "/map/files" + URL_ROOM_STARTED,
|
||||
mapUrlStart: url,
|
||||
startInstance: "global"
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue