Update back/src/Controller/MapController.ts
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
5f11b065e1
commit
929bb37728
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user