mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
add debugging to catch-all route
This commit is contained in:
1 parent
7455e51148
commit
7e4d5f375d
1 file changed
+1
@@ -229,6 +229,7 @@ fn main() -> AnyhowResult<()> {
|
||||
speak_proxy(req, remote_addr.clone(), router3, "/speak_spectrogram"),
|
||||
_ => {
|
||||
let forward = router3.get_random_host();
|
||||
info!("Forwarding to `{}` random host: {}", &forward, req.uri());
|
||||
hyper_reverse_proxy::call(remote_addr.ip(), &forward, req)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user