Better api: log; blacklist; bug fixing; frequency limitation
This commit is contained in:
parent
f1a9b8664f
commit
a6a5505852
|
|
@ -145,7 +145,6 @@ app.post('/', function (req, res) {
|
|||
}
|
||||
|
||||
// check data
|
||||
console.log(jsonStr.player, jsonStr.author, jsonStr.time, jsonStr.text, jsonStr.color, jsonStr.type);
|
||||
if (jsonStr.player === undefined
|
||||
|| jsonStr.author === undefined
|
||||
|| jsonStr.time === undefined
|
||||
|
|
|
|||
Loading…
Reference in New Issue