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:
@@ -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`,
|
||||||
|
Submodule public/moodle-test-userscript updated: 1e8154802c...3d1399c13b
Reference in New Issue
Block a user