From 74b02239e52af23085116cc2cd62f7867bf81e11 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Thu, 15 Jun 2023 16:37:23 -0600 Subject: [PATCH] add handler file --- src/Application.hs | 3 +-- src/Handler/Root.hs | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 src/Handler/Root.hs diff --git a/src/Application.hs b/src/Application.hs index b00c6bb..0e4c0a2 100644 --- a/src/Application.hs +++ b/src/Application.hs @@ -187,6 +187,7 @@ import Handler.Admin ( ) import Handler.Eos (getEosR, getEosVersionR) import Handler.Package +import Handler.Root import Lib.Ssl ( doesSslNeedRenew, renewSslCerts, @@ -213,8 +214,6 @@ import System.Directory (createDirectoryIfMissing) import System.Posix.Process (exitImmediately) import System.Time.Extra (sleep) import Yesod (YesodPersist (runDB)) -import Handler.Root - -- 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 diff --git a/src/Handler/Root.hs b/src/Handler/Root.hs new file mode 100644 index 0000000..1b21c53 --- /dev/null +++ b/src/Handler/Root.hs @@ -0,0 +1,6 @@ +module Handler.Root where +import Startlude + + +getRootR :: Handler () +getRootR = notImplemented