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