From 4d09d1ee4dd1ecde2eff927d8039efbbbfb05255 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Fri, 12 Aug 2011 19:46:55 -0700 Subject: [PATCH] fix staticRoot needs the port --- yesod/scaffold/config/Settings.hs.cg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod/scaffold/config/Settings.hs.cg b/yesod/scaffold/config/Settings.hs.cg index 6a514d91..3a0eb6a6 100644 --- a/yesod/scaffold/config/Settings.hs.cg +++ b/yesod/scaffold/config/Settings.hs.cg @@ -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