aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-30 17:04:28 -0700
committerFuwn <[email protected]>2024-05-30 17:04:28 -0700
commit42e66fc1210cb15ee10c92ae790bf89b57312572 (patch)
tree314e2a06e33a3df3f5c11e5b837e4728a14fa1a3 /src
parent5f1f7b43c172c0cc458c60e055f18be821663dff (diff)
downloadmayu-42e66fc1210cb15ee10c92ae790bf89b57312572.tar.xz
mayu-42e66fc1210cb15ee10c92ae790bf89b57312572.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")
}
}