add request proxying and basic user auth

This commit is contained in:
sam 2024-01-19 16:44:18 +01:00
parent bfb0a1d1b0
commit 274c527ade
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
31 changed files with 541 additions and 36 deletions

View file

@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
foxchat = { path = "../foxchat" }
axum = { version = "0.7.4", features = ["macros", "query", "tracing", "ws"] }
axum = { version = "0.7.4", features = ["macros", "query", "tracing", "ws", "original-uri"] }
clap = { version = "4.4.16", features = ["env", "derive"] }
sqlx = { version = "0.7.3", features = ["runtime-tokio", "tls-rustls", "postgres", "migrate", "chrono", "json"] }
serde = { version = "1.0.195", features = ["derive"] }