Skip to content

Commit cb63731

Browse files
committed
fix: update INTERNAL_HOST in .env.example and config to use 0.0.0.0 instead of [::]
1 parent bd0e180 commit cb63731

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/backend/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ S3_ACCESS_KEY_ID=
99
S3_SECRET_ACCESS_KEY=
1010
HOST=0.0.0.0
1111
PORT=3000
12-
INTERNAL_HOST=[::]
12+
INTERNAL_HOST=0.0.0.0
1313
INTERNAL_PORT=9485
1414
ADMIN_TOKEN=replace-with-long-random-token

apps/backend/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl Config {
2323
.unwrap_or_else(|_| "3000".into())
2424
.parse()
2525
.expect("PORT must be a valid u16");
26-
let internal_host = std::env::var("INTERNAL_HOST").unwrap_or_else(|_| "[::]".into());
26+
let internal_host = std::env::var("INTERNAL_HOST").unwrap_or_else(|_| "0.0.0.0".into());
2727
let internal_port: u16 = std::env::var("INTERNAL_PORT")
2828
.unwrap_or_else(|_| "3001".into())
2929
.parse()

0 commit comments

Comments
 (0)