summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rwxr-xr-xweb/labitrackd.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/web/labitrackd.lua b/web/labitrackd.lua
index e345dd4..c798953 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'))