From 6067b47b10355e5452e78ba954f1fd2ab8ac5178 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Tue, 5 Feb 2019 18:47:08 +0200 Subject: [PATCH] hmmm --- applications/highlight-termbin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/highlight-termbin/index.js b/applications/highlight-termbin/index.js index 16f8ae7..e7882ca 100644 --- a/applications/highlight-termbin/index.js +++ b/applications/highlight-termbin/index.js @@ -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)