Merge pull request #99 from thecodingmachine/map_history

Adding support for history API
This commit is contained in:
David Négrier 2020-05-13 11:03:49 +02:00 committed by GitHub
commit 23a12ea652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 103 additions and 42 deletions

View file

@ -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
});
});
}