Make access a bit more restricted

This commit is contained in:
Juno Takano 2025-12-16 03:48:59 -03:00
commit dc55126b95
3 changed files with 7 additions and 4 deletions

View file

@ -3,7 +3,7 @@ use axum::{
http::{header, HeaderValue, Response, StatusCode},
};
pub fn make_response(
pub(in crate::handlers) fn make_response(
body: &str,
status_code: u16,
headers: &[(header::HeaderName, &str)],