diff options
| author | Fuwn <[email protected]> | 2024-05-30 17:04:28 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-30 17:04:28 -0700 |
| commit | 42e66fc1210cb15ee10c92ae790bf89b57312572 (patch) | |
| tree | 314e2a06e33a3df3f5c11e5b837e4728a14fa1a3 /src | |
| parent | 5f1f7b43c172c0cc458c60e055f18be821663dff (diff) | |
| download | mayu-42e66fc1210cb15ee10c92ae790bf89b57312572.tar.xz mayu-42e66fc1210cb15ee10c92ae790bf89b57312572.zip | |
feat(request): redirect index to github
Diffstat (limited to 'src')
| -rw-r--r-- | src/request.gleam | 2 |
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") } } |