summaryrefslogtreecommitdiff
path: root/fig-web/src/Fig
diff options
context:
space:
mode:
Diffstat (limited to 'fig-web/src/Fig')
-rw-r--r--fig-web/src/Fig/Web/Secure.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/fig-web/src/Fig/Web/Secure.hs b/fig-web/src/Fig/Web/Secure.hs
index d82451d..07d106b 100644
--- a/fig-web/src/Fig/Web/Secure.hs
+++ b/fig-web/src/Fig/Web/Secure.hs
@@ -57,6 +57,8 @@ app cfg cmds = do
]
Sc.get "/" do
Sc.text "this is the secure endpoint"
+ Sc.get "/api/status" do
+ Sc.text "this is the secure endpoint"
Sc.post "/api/redeem" do
me <- Text.toLower <$> Sc.formParam "ayem"
name <- Sc.formParam "name"