summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-03-31 11:37:58 -0700
committerBen Sima <ben@bsima.me>2020-03-31 11:37:58 -0700
commit0b0972d31ab263c12d2cba621794bc6e7c3840bf (patch)
tree3cbe55eaf75aec8c86f16d6c372304165764a578
parent6aefe440eb206e2c10b250b15df41f1229073b0b (diff)
Allow dot in quepath
-rw-r--r--Run/Que.hs2
1 files changed, 1 insertions, 1 deletions
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