Skip to content

Commit d947ed5

Browse files
authored
🔀 Merge pull request #1877 from alayham/bug/1746-xml-parsing-error-on-status-check
Send json response for status check
2 parents 4ec76d3 + f9c0ff6 commit d947ed5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎server.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ const app = express()
147147
.use(ENDPOINTS.statusCheck, (req, res) => {
148148
try {
149149
statusCheck(req.url, async (results) => {
150+
res.setHeader('Content-Type', 'application/json');
150151
await res.end(results);
151152
});
152153
} catch (e) {

0 commit comments

Comments
 (0)