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:
parent
c1560a367d
commit
c04ce2e840
2 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue