X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=routes%2Fall.js;h=5ab6ae90f67b61936c02fe57a058786b18d8b9f2;hb=e8e4adbded06cf3ccc36cee66a786d6e97b726ef;hp=49ca802fa5b2f5e2663ee073f3d02f858064be52;hpb=a5d5668613d9a3d04c9a4f8b69122d02b7322137;p=vchess.git diff --git a/routes/all.js b/routes/all.js index 49ca802f..5ab6ae90 100644 --- a/routes/all.js +++ b/routes/all.js @@ -4,7 +4,7 @@ const createError = require('http-errors'); const sqlite3 = require('sqlite3');//.verbose(); const db = new sqlite3.Database('db/vchess.sqlite'); const sanitizeHtml = require('sanitize-html'); -const MaxNbProblems = 2; +const MaxNbProblems = 20; const supportedLang = ["fr","en"]; function selectLanguage(req, res)