Compare commits
1 Commits
master
...
ba0b0fd422
| Author | SHA1 | Date | |
|---|---|---|---|
| ba0b0fd422 |
996
Cargo.lock
generated
996
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
15
Cargo.toml
15
Cargo.toml
@@ -6,13 +6,14 @@ edition = "2024"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
light-openid = { version = "1.1.0", features=["crypto-wrapper"] }
|
||||
log = "0.4.29"
|
||||
env_logger = "0.11.10"
|
||||
light-openid = { version = "1.0.4", features=["crypto-wrapper"] }
|
||||
log = "0.4.21"
|
||||
env_logger = "0.11.7"
|
||||
clap = { version = "4.5.34", features = ["derive", "env"] }
|
||||
lazy_static = "1.4.0"
|
||||
actix-web = "4.5.1"
|
||||
askama = "0.15.0"
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.149"
|
||||
actix-remote-ip = "1.0.0"
|
||||
askama = "0.14.0"
|
||||
serde = { version = "1.0.198", features = ["derive"] }
|
||||
serde_json = "1.0.140"
|
||||
reqwest = { version = "0.12.15", features = ["json"] }
|
||||
actix-remote-ip = "0.1.0"
|
||||
|
||||
@@ -217,9 +217,9 @@ async fn main() -> std::io::Result<()> {
|
||||
HttpServer::new(move || {
|
||||
App::new()
|
||||
.wrap(Logger::default())
|
||||
.app_data(web::Data::new(RemoteIPConfig::parse_opt(
|
||||
CONF.proxy_ip.clone(),
|
||||
)))
|
||||
.app_data(web::Data::new(RemoteIPConfig {
|
||||
proxy: CONF.proxy_ip.clone(),
|
||||
}))
|
||||
.app_data(state_manager.clone())
|
||||
.service(bootstrap)
|
||||
.service(cover)
|
||||
|
||||
Reference in New Issue
Block a user