This commit is contained in:
Evert Prants 2019-02-05 18:47:08 +02:00
parent ed45048920
commit 6067b47b10
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ async function init () {
router.get('/:name', async (req, res, next) => {
let name = req.params.name
if (name.length != 4) {
if (name.length > 5) {
try {
let text = await fsp.readFile(path.join(root, 'index.html'))
res.send(text)