fix staticRoot needs the port

This commit is contained in:
Greg Weber 2011-08-12 19:46:55 -07:00
parent d36502dd0e
commit 4d09d1ee4d

View File

@ -117,7 +117,7 @@ staticDir = "static"
--
-- To see how this value is used, see urlRenderOverride in ~sitearg~.hs
staticRoot :: AppConfig -> Text
staticRoot conf = [st|#{appRoot conf}/static|]
staticRoot conf = [st|#{appRoot conf}:#{appPort conf}/static|]
-- The rest of this file contains settings which rarely need changing by a