mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Fixed /allqr
This commit is contained in:
@@ -180,11 +180,8 @@ app.get('/menuClick', function (req, res) {
|
||||
|
||||
// all questions readable
|
||||
app.get('/allqr', function (req, res) {
|
||||
var f = utils.ReadFile(dataFile)
|
||||
var d = actions.LoadJSON(f)
|
||||
|
||||
res.render('allqr', {
|
||||
d: d.toString().split('\n')
|
||||
d: data.toString().split('\n')
|
||||
})
|
||||
logger.LogReq(req)
|
||||
})
|
||||
|
Reference in New Issue
Block a user