From c5db977c145ae7226e054297981326fbd80f8f38 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Tue, 11 Jun 2024 17:59:56 +0300 Subject: [PATCH] refactor: use page contact method --- src/error.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/error.rs b/src/error.rs index 7f7cff9..1fc6105 100644 --- a/src/error.rs +++ b/src/error.rs @@ -45,11 +45,7 @@ impl IntoResponse for AppError { br; (self.internal.to_string()); } - a style=(format!("{} right: 0;", crate::ABOUT_STYLE)) href="https://gaze.systems" target="_blank" { - "website made by dusk" - br; - "report problems / feedback @ yusdacra on Discord" - } + (crate::get_page_contact()) } }; let mut resp = Html(pre_escaped.into_string()).into_response();