Fix CS
This commit is contained in:
parent
2484e4f1df
commit
d48d5b0285
5 changed files with 16 additions and 15 deletions
|
@ -19,7 +19,7 @@ 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;
|
||||
const url = req.headers.host?.replace('api.', 'maps.') + URL_ROOM_STARTED;
|
||||
res.status(OK).send({
|
||||
mapUrlStart: url,
|
||||
startInstance: "global"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue