diff options
| author | Andrew <saintruler@gmail.com> | 2020-11-27 20:51:21 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-11-27 20:51:21 +0400 |
| commit | 46d7f5d2d88a62ed2c77514c33d97e25d737881c (patch) | |
| tree | c79a0c9ab4a1094b04716320d1c686bbe2a73eb7 /Routes.hs | |
| parent | 0093cbc556c735d148b571011a45ad32c567d62d (diff) | |
Added networking
Diffstat (limited to 'Routes.hs')
| -rw-r--r-- | Routes.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Routes.hs b/Routes.hs new file mode 100644 index 0000000..3dbb3aa --- /dev/null +++ b/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 |