From 0b0972d31ab263c12d2cba621794bc6e7c3840bf Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 31 Mar 2020 11:37:58 -0700 Subject: Allow dot in quepath --- Run/Que.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Run/Que.hs b/Run/Que.hs index 356584f..cf9467b 100644 --- a/Run/Que.hs +++ b/Run/Que.hs @@ -81,7 +81,7 @@ routes :: Scotty.ScottyT Text App () routes = do Scotty.middleware logStdoutDev - let quepath = "^/([[:alnum:]_]*)/([[:alnum:]_/]*)$" + let quepath = "^/([[:alnum:]_]*)/([[:alnum:]._/]*)$" let index = "^(/|/index.html)$" Scotty.get (Scotty.regex index) <| do -- cgit v1.2.3