don't acquire useless transasctions, misc

This commit is contained in:
2026-04-20 22:07:49 +02:00
parent aab9d87df2
commit d14a587794
4 changed files with 5 additions and 17 deletions

View File

@@ -1,9 +1,4 @@
use axum::{
Router,
http::header,
response::{IntoResponse, Redirect, Response},
routing::get,
};
use axum::{ Router, http::header, routing::get};
use crate::MnemoState;
@@ -21,10 +16,3 @@ pub fn web_router() -> Router<MnemoState> {
)
.merge(pages::pages())
}
pub struct RedirectViaError(Redirect);
impl IntoResponse for RedirectViaError {
fn into_response(self) -> Response {
self.0.into_response()
}
}