aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-31 00:04:28 +0000
committerFuwn <[email protected]>2024-05-31 00:04:28 +0000
commit3e3b01884c56b2d4c8ed2a43e982f8860fa489d3 (patch)
tree314e2a06e33a3df3f5c11e5b837e4728a14fa1a3 /src
parentrefactor(request): straightforward pattern matching (diff)
downloadmayu-3e3b01884c56b2d4c8ed2a43e982f8860fa489d3.tar.xz
mayu-3e3b01884c56b2d4c8ed2a43e982f8860fa489d3.zip
feat(request): redirect index to github
Diffstat (limited to 'src')
-rw-r--r--src/request.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/request.gleam b/src/request.gleam
index 08dbf8d..5cdc3c4 100644
--- a/src/request.gleam
+++ b/src/request.gleam
@@ -54,6 +54,6 @@ pub fn handle(request, connection) {
Error(_) -> wisp.unprocessable_entity()
}
}
- _ -> wisp.html_response(string_builder.from_string("Not found"), 404)
+ _ -> wisp.redirect("https://github.com/Fuwn/mayu")
}
}