Update/root url (#136)

* handle root url

* add handler file

* fix compilation bug

* fix compilation error

* attempt redirect

* add query param of hostname

* add name to root query params

* cleanup
This commit is contained in:
Lucy
2023-06-19 14:53:06 -06:00
committed by GitHub
parent 683b9d1712
commit e4cd1bae09
4 changed files with 22 additions and 10 deletions

View File

@@ -186,6 +186,7 @@ import Handler.Admin (
postPkgUploadR,
)
import Handler.Eos (getEosR, getEosVersionR)
import Handler.Root(getRootR)
import Handler.Package
import Lib.Ssl (
doesSslNeedRenew,
@@ -214,7 +215,6 @@ import System.Posix.Process (exitImmediately)
import System.Time.Extra (sleep)
import Yesod (YesodPersist (runDB))
-- This line actually creates our YesodDispatch instance. It is the second half
-- of the call to mkYesodData which occurs in Foundation.hs. Please see the
-- comments there for more details.