From 81e58832811e233fe91203dd2f8fa2fead58cc89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Wed, 15 Nov 2017 20:16:23 +0000 Subject: 2013: fix pattern captures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- web/labitrackd.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'web') diff --git a/web/labitrackd.lua b/web/labitrackd.lua index fbea3c2..133050e 100755 --- a/web/labitrackd.lua +++ b/web/labitrackd.lua @@ -169,15 +169,15 @@ hathaway.import() local htmlpage = sendfile('text/html; charset=UTF-8', 'pub/index.html') -GET('/', htmlpage) -GET('/browse', htmlpage) -GETM('^/browse/page/%d+$', htmlpage) -GET('/recent', htmlpage) -GET('/about', htmlpage) -GETM('^/view/%d+$', htmlpage) -GETM('^/edit/%d+$', htmlpage) -GET('/search', htmlpage) -GETM('^/search/', htmlpage) +GET('/', htmlpage) +GET('/browse', htmlpage) +GETM('^/browse/page/(%d+)$', htmlpage) +GET('/recent', htmlpage) +GET('/about', htmlpage) +GETM('^/view/(%d+)$', htmlpage) +GETM('^/edit/(%d+)$', htmlpage) +GET('/search', htmlpage) +GETM('^/search/', htmlpage) GET('/js/corelibs.min.js', sendfile_js('js/dist/corelibs.min.js')) GET('/js/corelibs.src.js', sendfile_js('js/dist/corelibs.src.js')) -- cgit v1.2.1