Make access a bit more restricted
This commit is contained in:
parent
984c8bcdcc
commit
dc55126b95
3 changed files with 7 additions and 4 deletions
|
|
@ -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)],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue