We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0e180 commit cb63731Copy full SHA for cb63731
apps/backend/.env.example
@@ -9,6 +9,6 @@ S3_ACCESS_KEY_ID=
9
S3_SECRET_ACCESS_KEY=
10
HOST=0.0.0.0
11
PORT=3000
12
-INTERNAL_HOST=[::]
+INTERNAL_HOST=0.0.0.0
13
INTERNAL_PORT=9485
14
ADMIN_TOKEN=replace-with-long-random-token
apps/backend/src/config.rs
@@ -23,7 +23,7 @@ impl Config {
23
.unwrap_or_else(|_| "3000".into())
24
.parse()
25
.expect("PORT must be a valid u16");
26
- let internal_host = std::env::var("INTERNAL_HOST").unwrap_or_else(|_| "[::]".into());
+ let internal_host = std::env::var("INTERNAL_HOST").unwrap_or_else(|_| "0.0.0.0".into());
27
let internal_port: u16 = std::env::var("INTERNAL_PORT")
28
.unwrap_or_else(|_| "3001".into())
29
0 commit comments