mirror of
https://github.com/YunoHost-Apps/crabfit_ynh.git
synced 2024-09-03 18:16:21 +02:00
Update the backend patch to listen only on the loopback
This commit is contained in:
parent
e894a8bbd8
commit
9d21a77db2
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ index da3e2c3..3ebd00e 100644
|
|||
.layer(TraceLayer::new_for_http());
|
||||
|
||||
- let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
|
||||
+ let addr = SocketAddr::from(([0, 0, 0, 0], port));
|
||||
+ let addr = SocketAddr::from(([127, 0, 0, 1], port));
|
||||
|
||||
println!(
|
||||
"🦀 Crab Fit API listening at http://{} in {} mode",
|
||||
|
|
Loading…
Reference in a new issue