mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Removed logging from /ask api
This commit is contained in:
parent
81e524978c
commit
e610a7e722
2 changed files with 2 additions and 2 deletions
|
@ -286,7 +286,7 @@ app.post('/isAdding', function (req, res) {
|
||||||
})
|
})
|
||||||
|
|
||||||
app.get('/ask', function (req, res) {
|
app.get('/ask', function (req, res) {
|
||||||
logger.LogReq(req)
|
// logger.LogReq(req)
|
||||||
if (Object.keys(req.query).length === 0) {
|
if (Object.keys(req.query).length === 0) {
|
||||||
res.json({
|
res.json({
|
||||||
message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`,
|
message: `ask something! ?q=[question]&subj=[subject]&data=[question data]. 'subj' is optimal for faster result`,
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1e8154802cf4c17a6c8e71a577c6fa9f4957c2b1
|
Subproject commit 3d1399c13b54b4c881c3c7af95003b0397d36290
|
Loading…
Add table
Add a link
Reference in a new issue