We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad94b8f commit 160fa9eCopy full SHA for 160fa9e
lib/core/Proxy.js
@@ -77,11 +77,7 @@ class Proxy {
77
};
78
logger.info(`${HTTPLOG} Received http request ${options}`);
79
if (request.url.indexOf('/status') > -1) {
80
- response.writeHead(200, {
81
- 'content-type': 'application/json; charset=utf-8',
82
- accept: 'application/json',
83
- 'WWW-Authenticate': 'Basic realm="WS Reconnect Proxy"',
84
- });
+ response.writeHead(200, responseHeaders);
85
response.end(JSON.stringify({ status: 'Running' }));
86
return;
87
} else if (
0 commit comments