Browse Source

Updated nojs.js

Forgot to add version strings.
Bobby Wibowo 3 weeks ago
parent
commit
b75deb268f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      routes/nojs.js

+ 5 - 1
routes/nojs.js

@@ -4,7 +4,11 @@ const utils = require('./../controllers/utilsController')
 const config = require('./../config')
 
 routes.get('/nojs', async (req, res, next) => {
-  return res.render('nojs', { config, gitHash: utils.gitHash })
+  return res.render('nojs', {
+    config,
+    versions: utils.versionStrings,
+    gitHash: utils.gitHash
+  })
 })
 
 routes.post('/nojs', (req, res, next) => {