Skip to content

Commit

Permalink
feat(request): redirect index to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuwn committed May 31, 2024
1 parent 5f1f7b4 commit 42e66fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

0 comments on commit 42e66fc

Please sign in to comment.