🔀 Merge pull request #1877 from alayham/bug/1746-xml-parsing-error-on-status-check

Send json response for status check
This commit is contained in:
Alicia Sykes 2025-07-27 19:41:48 +01:00 committed by GitHub
commit d947ed5c53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,6 +147,7 @@ const app = express()
.use(ENDPOINTS.statusCheck, (req, res) => {
try {
statusCheck(req.url, async (results) => {
res.setHeader('Content-Type', 'application/json');
await res.end(results);
});
} catch (e) {