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