This commit is contained in:
Face
2025-09-08 19:24:35 +03:00
parent 1d56811bd4
commit 607807d22c
2 changed files with 21 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ impl GurtHandler for AppHandler {
log::info!("Handler started for {} {} from {}", ctx.method(), ctx.path(), ctx.remote_addr);
let result = match handler_type {
HandlerType::Index => routes::index(app_state).await,
HandlerType::Index => routes::index(&ctx, app_state).await,
HandlerType::GetDomain => {
if ctx.path().contains("/records") {
handle_authenticated!(ctx, app_state, routes::get_domain_records)