diff options
author | Ben Sima <ben@bsima.me> | 2020-03-31 11:37:58 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-03-31 11:37:58 -0700 |
commit | 0b0972d31ab263c12d2cba621794bc6e7c3840bf (patch) | |
tree | 3cbe55eaf75aec8c86f16d6c372304165764a578 /Run/Que.hs | |
parent | 6aefe440eb206e2c10b250b15df41f1229073b0b (diff) |
Allow dot in quepath
Diffstat (limited to 'Run/Que.hs')
-rw-r--r-- | Run/Que.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |