Microservice to bring 2FA to self hosted PDSes

Fix default host issue #9

merged opened by willdot.net targeting main from willdot.net/pds-gatekeeper: fix-host-defaukt
Labels

None yet.

Participants 2
AT URI
at://did:plc:dadhhalkfcq3gucaq25hjqon/sh.tangled.repo.pull/3mbm3m2rhm222
+1 -1
Diff #0
+1 -1
src/main.rs
··· 387 387 .layer(cors) 388 388 .with_state(state); 389 389 390 - let host = env::var("GATEKEEPER_HOST").unwrap_or_else(|_| "127.0.0.1".to_string()); 390 + let host = env::var("GATEKEEPER_HOST").unwrap_or_else(|_| "0.0.0.0".to_string()); 391 391 let port: u16 = env::var("GATEKEEPER_PORT") 392 392 .ok() 393 393 .and_then(|s| s.parse().ok())

History

1 round 1 comment
sign up or login to add to the discussion
willdot.net submitted #0
1 commit
expand
use 0.0.0.0 as default host
expand 1 comment

LGTM and closes out the issue! Thank you!

pull request successfully merged