Skip to content

Commit 5949172

Browse files
committed
Binding API to wildcard address instead of the loopback address
1 parent 4fc87de commit 5949172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async fn main() {
7070
.wrap(Logger::default())
7171
})
7272
.bind(format!(
73-
"127.0.0.1:{}",
73+
"0.0.0.0:{}",
7474
&EnvironmentVariables::StaccAPIPortNumber
7575
.env_var()
7676
.expect("FAILED TO GET API PORT NUMBER")

0 commit comments

Comments
 (0)