add proxy hostname to response (but this isn't elegant/safe)

This commit is contained in:
Brandon Thomas
2020-09-13 06:37:24 -04:00
parent 77ad6a7e08
commit f2b0ec1c46
4 changed files with 54 additions and 3 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ path = "src/main.rs"
anyhow = "1.0.31"
env_logger = "0.7.1"
futures = "0.3"
hostname = "0.3.1"
hyper = "0.13"
hyper-reverse-proxy = { git = "https://github.com/felipenoris/hyper-reverse-proxy.git", commit = "d109fcbd629c62eeb5c34bec1074d737e7b58529" }
log = "0.4.8"
@@ -25,4 +26,4 @@ serde = "1.0.104"
serde_derive = "1.0.104"
serde_json = "1.0.55"
tokio = { version = "0.2", features = ["full"] }
toml = "0.5.6"
toml = "0.5.6"