diff options
| author | LLLL Colonq <llll@colonq> | 2025-06-16 05:42:58 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-06-16 05:42:58 -0400 |
| commit | a421eb9bdddfa7e2765456f756833d8941ac7a08 (patch) | |
| tree | fb07429aff4bf970435c6465ffa56eb8eb54d28c /fig-web/src/Fig/Web/Module/Gizmo.hs | |
| parent | 7c3e41979478d6826f73a956a26c967aae1687a2 (diff) | |
fig-web: Initial puzzle site
Diffstat (limited to 'fig-web/src/Fig/Web/Module/Gizmo.hs')
| -rw-r--r-- | fig-web/src/Fig/Web/Module/Gizmo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fig-web/src/Fig/Web/Module/Gizmo.hs b/fig-web/src/Fig/Web/Module/Gizmo.hs index 0267ab6..bca23d5 100644 --- a/fig-web/src/Fig/Web/Module/Gizmo.hs +++ b/fig-web/src/Fig/Web/Module/Gizmo.hs @@ -24,7 +24,7 @@ public a = do Nothing -> do status status404 respondText "gizmo does not exist" - Just html -> respondHTML $ decodeUtf8 html + Just html -> respondHTMLText $ decodeUtf8 html onGet "/api/gizmo/list" do gizmos <- maybe [] (fmap decodeUtf8) <$> DB.hkeys a.db "gizmos" respondText $ Text.unlines gizmos |
