mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Submodule pull
This commit is contained in:
commit
2a2eabc97c
4 changed files with 6 additions and 29 deletions
|
@ -179,10 +179,10 @@ app.get('/menuClick', function (req, res) {
|
|||
})
|
||||
|
||||
// all questions readable
|
||||
app.get('/allqr', function (req, res) {
|
||||
res.render('allqr', {
|
||||
d: data.toString().split('\n')
|
||||
})
|
||||
app.get('/allqr.txt', function (req, res) {
|
||||
res.set('Content-Type', 'text/plain')
|
||||
res.send(data.toString())
|
||||
res.end()
|
||||
logger.LogReq(req)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue