mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-18 15:11:56 +01:00
Redirect /download to /install (closes #99)
This commit is contained in:
parent
1e54d46414
commit
e663fc4a63
@ -33,9 +33,7 @@ currentlySupported Linux64 = True
|
|||||||
currentlySupported _ = False
|
currentlySupported _ = False
|
||||||
|
|
||||||
getDownloadR :: Handler Html
|
getDownloadR :: Handler Html
|
||||||
getDownloadR = defaultLayout $ do
|
getDownloadR = redirectWith status301 InstallR
|
||||||
setTitle "Download"
|
|
||||||
$(widgetFile "download")
|
|
||||||
|
|
||||||
getDownloadSnapshotsJsonR :: Handler Value
|
getDownloadSnapshotsJsonR :: Handler Value
|
||||||
getDownloadSnapshotsJsonR = getDownloadLtsSnapshotsJsonR
|
getDownloadSnapshotsJsonR = getDownloadLtsSnapshotsJsonR
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user