mirror of
https://github.com/Start9Labs/registry.git
synced 2026-04-04 13:49:43 +00:00
handle root url
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
/ RootR GET
|
||||||
|
|
||||||
-- EOS API V0
|
-- EOS API V0
|
||||||
/eos/v0/latest EosVersionR GET -- get eos information
|
/eos/v0/latest EosVersionR GET -- get eos information
|
||||||
/eos/v0/eos.img EosR GET -- get eos.img
|
/eos/v0/eos.img EosR GET -- get eos.img
|
||||||
|
|||||||
@@ -213,6 +213,7 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user