implemented the admin websocket
now send data
This commit is contained in:
parent
84566f08f3
commit
75d9ed8dfa
8 changed files with 124 additions and 28 deletions
|
@ -58,7 +58,7 @@ export class MapController extends BaseController{
|
|||
this.addCorsHeaders(res);
|
||||
res.end(JSON.stringify(mapDetails));
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
console.error(e.message || e);
|
||||
res.writeStatus("500 Internal Server Error")
|
||||
this.addCorsHeaders(res);
|
||||
res.end("An error occurred");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue