mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
cleanup
This commit is contained in:
@@ -7,6 +7,5 @@ import Settings (AppSettings(registryHostname, marketplaceName))
|
||||
|
||||
getRootR :: HandlerFor RegistryCtx ()
|
||||
getRootR = do
|
||||
url <- getsYesod $ registryHostname . appSettings
|
||||
name <- getsYesod $ marketplaceName . appSettings
|
||||
(url, name) <- getsYesod $ (registryHostname &&& marketplaceName) . appSettings
|
||||
redirect $ T.pack "https://marketplace.start9.com?api=" <> url <> T.pack "&name=" <> name
|
||||
Reference in New Issue
Block a user