From a0e8e5a91d15ed8c79f4a1b5914d3a6242c0cbd3 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 5 Mar 2023 13:45:37 +0400 Subject: Migrated project to cabal --- app/Routes.hs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app/Routes.hs (limited to 'app/Routes.hs') diff --git a/app/Routes.hs b/app/Routes.hs new file mode 100644 index 0000000..3dbb3aa --- /dev/null +++ b/app/Routes.hs @@ -0,0 +1,14 @@ +module Routes where + +import qualified Data.Text as T + +import Web.Response +import Web.Request +import Web.Router +import Web.Utils +import Web.Http + +import Views + +routesTable = [ Route indexGet (T.pack "/") GET + , Route helloGet (T.pack "/hello") GET ] \ No newline at end of file -- cgit v1.2.3