summaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-11-27 18:49:06 +0400
committerAndrew <saintruler@gmail.com>2020-11-27 18:49:06 +0400
commit0093cbc556c735d148b571011a45ad32c567d62d (patch)
treed9109daa448565b902f199d6193976998a252529 /Main.hs
parent463665e8a91e8b0611c3e8413842182c67d3ea3d (diff)
Added feature of forming reponse into text
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index aefc95c..3ebb7d1 100644
--- a/Main.hs
+++ b/Main.hs
@@ -14,4 +14,4 @@ table = [ Route indexGet (T.pack "/") GET
main = do
response <- resolve table (Request [] (T.pack "/hello") GET)
- print $ response \ No newline at end of file
+ print $ formResponse response \ No newline at end of file