mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
add handler file
This commit is contained in:
@@ -187,6 +187,7 @@ import Handler.Admin (
|
|||||||
)
|
)
|
||||||
import Handler.Eos (getEosR, getEosVersionR)
|
import Handler.Eos (getEosR, getEosVersionR)
|
||||||
import Handler.Package
|
import Handler.Package
|
||||||
|
import Handler.Root
|
||||||
import Lib.Ssl (
|
import Lib.Ssl (
|
||||||
doesSslNeedRenew,
|
doesSslNeedRenew,
|
||||||
renewSslCerts,
|
renewSslCerts,
|
||||||
@@ -213,8 +214,6 @@ import System.Directory (createDirectoryIfMissing)
|
|||||||
import System.Posix.Process (exitImmediately)
|
import System.Posix.Process (exitImmediately)
|
||||||
import System.Time.Extra (sleep)
|
import System.Time.Extra (sleep)
|
||||||
import Yesod (YesodPersist (runDB))
|
import Yesod (YesodPersist (runDB))
|
||||||
import Handler.Root
|
|
||||||
|
|
||||||
|
|
||||||
-- This line actually creates our YesodDispatch instance. It is the second half
|
-- 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
|
-- of the call to mkYesodData which occurs in Foundation.hs. Please see the
|
||||||
|
|||||||
6
src/Handler/Root.hs
Normal file
6
src/Handler/Root.hs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module Handler.Root where
|
||||||
|
import Startlude
|
||||||
|
|
||||||
|
|
||||||
|
getRootR :: Handler ()
|
||||||
|
getRootR = notImplemented
|
||||||
Reference in New Issue
Block a user