add: move database drivers to oiseau
This commit is contained in:
parent
40fce4bc77
commit
81036e3733
57 changed files with 638 additions and 1106 deletions
|
@ -22,7 +22,7 @@ pub async fn proxy_request(
|
|||
) -> impl IntoResponse {
|
||||
let data = &(data.read().await);
|
||||
let http = &data.2;
|
||||
let data = &data.0;
|
||||
let data = &data.0.0;
|
||||
|
||||
let image_url = &props.url;
|
||||
|
||||
|
@ -148,7 +148,7 @@ pub async fn ip_test_request(
|
|||
) -> impl IntoResponse {
|
||||
let data = &(data.read().await).0;
|
||||
headers
|
||||
.get(data.0.security.real_ip_header.to_owned())
|
||||
.get(data.0.0.security.real_ip_header.to_owned())
|
||||
.unwrap_or(&HeaderValue::from_static(""))
|
||||
.to_str()
|
||||
.unwrap_or("")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue