diff --git a/src/Handler/Root.hs b/src/Handler/Root.hs index f5a1759..a21a600 100644 --- a/src/Handler/Root.hs +++ b/src/Handler/Root.hs @@ -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 \ No newline at end of file