mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Allqr downloadable txt
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user