Update back/src/Controller/MapController.ts

Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
grégoire parant 2020-05-10 14:48:34 +02:00 committed by GitHub
parent 5f11b065e1
commit 929bb37728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ export class MapController {
this.App.use('/map/files', express.static('src/Assets/Maps'));
}
//permit to login on application. Return token to connect on Websocket IO.
// Returns a map mapping map name to file name of the map
getMpas() {
this.App.get("/maps", (req: Request, res: Response) => {
return res.status(OK).send({
@ -26,4 +26,4 @@ export class MapController {
});
});
}
}
}