We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf3bc2c commit c213bbfCopy full SHA for c213bbf
src/main.rs
@@ -36,8 +36,8 @@ macro_rules! document {
36
footer { div {
37
a href="/" { "Home" }
38
" - "
39
- a href="/search" { "Search" }
40
- " - "
+ // a href="/search" { "Search" }
+ // " - "
41
a href="/settings" { "Settings" }
42
43
a href="/about" { "About" } } }
src/routes/search.rs
@@ -57,6 +57,7 @@ pub fn render_section(
57
}
58
59
pub fn render_search(client: &Client, request: &rouille::Request) -> ApiResult<String> {
60
+ return Err(crate::api::error::ApiError::Internal("Search is currently disabled due to abuse".to_string()));
61
match request.get_param("query") {
62
Some(query) => {
63
let offset = request
0 commit comments