mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-01 13:50:25 +01:00
Fix broken link from previous commit
This commit is contained in:
parent
ea17b80243
commit
90d5913f86
@ -138,8 +138,8 @@ instance Yesod App where
|
|||||||
-- problem is that sometimes CORS kicks in and breaks a static resource
|
-- problem is that sometimes CORS kicks in and breaks a static resource
|
||||||
-- when loading from a non-secure page. So we have this ugly hack: whenever
|
-- when loading from a non-secure page. So we have this ugly hack: whenever
|
||||||
-- the destination is a static file, don't include the scheme or hostname.
|
-- the destination is a static file, don't include the scheme or hostname.
|
||||||
urlRenderOverride y (StaticR s) =
|
urlRenderOverride y route@StaticR{} =
|
||||||
Just $ uncurry (joinPath y "") $ renderRoute s
|
Just $ uncurry (joinPath y "") $ renderRoute route
|
||||||
urlRenderOverride _ _ = Nothing
|
urlRenderOverride _ _ = Nothing
|
||||||
|
|
||||||
-- The page to be redirected to when authentication is required.
|
-- The page to be redirected to when authentication is required.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user