mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
changed content type of api responses to application/json
This commit is contained in:
parent
d2c502e2be
commit
5da30a40bf
1 changed files with 1 additions and 0 deletions
|
@ -279,6 +279,7 @@ async.waterfall([
|
|||
app.get('/api/1/:func', function(req, res)
|
||||
{
|
||||
res.header("Server", serverName);
|
||||
res.header("Content-Type", "application/json");
|
||||
|
||||
apiLogger.info("REQUEST, " + req.params.func + ", " + JSON.stringify(req.query));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue