From 20b305dd299dae2716dd51e4cb06723bf2cf4ebb Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Sat, 23 Sep 2017 10:21:15 +0200 Subject: [PATCH] static content not requires authorization --- Foundation.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Foundation.hs b/Foundation.hs index 7e45f37..e7d5733 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -113,6 +113,7 @@ instance Yesod App where isAuthorized FaviconR _ = return Authorized isAuthorized RobotsR _ = return Authorized isAuthorized HomeR _ = return Authorized + isAuthorized (StaticR _) _ = return Authorized isAuthorized QueryFormR _ = return Authorized isAuthorized (QueryResultsR _) _ = return Authorized isAuthorized ListChallengesR _ = return Authorized