content-type???

This commit is contained in:
Felix Dörre 2021-12-01 21:41:49 +01:00
parent b0363a4414
commit e66ff65eaf

View File

@ -53,6 +53,7 @@ export class MapController extends BaseController {
const mapUrl = roomUrl.protocol + "//" + match[1];
res.writeStatus("200 OK");
res.writeHeader("Content-type", "application/json");
this.addCorsHeaders(res);
res.end(
JSON.stringify({