mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46:14 -04:00
commit
edc5669fa6
5 changed files with 637 additions and 1 deletions
|
@ -450,6 +450,7 @@ exports.handle = function(apiVersion, functionName, fields, req, res)
|
|||
|
||||
if(fields["apikey"] != apikey.trim())
|
||||
{
|
||||
res.statusCode = 401;
|
||||
res.send({code: 4, message: "no or wrong API Key", data: null});
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,9 @@
|
|||
"swagger-node-express" : ">=2.1.0",
|
||||
"channels" : "0.0.x",
|
||||
"jsonminify" : "0.2.2",
|
||||
"measured" : "0.1.3"
|
||||
"measured" : "0.1.3",
|
||||
"mocha" : ">=2.0.1",
|
||||
"supertest" : ">=0.15.0"
|
||||
},
|
||||
"bin": { "etherpad-lite": "./node/server.js" },
|
||||
"devDependencies": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue