[F] Fix host binding for docker

This commit is contained in:
Azalea Gui
2023-02-23 20:44:19 -05:00
parent 72195c668a
commit 56a1c3f81d
+1 -1
View File
@@ -26,7 +26,7 @@ async fn main() -> Result<()> {
pretty_env_logger::init();
let cwd = env::current_dir().unwrap();
let addr = SocketAddr::from(([127, 0, 0, 1], 3029));
let addr = SocketAddr::from(([0, 0, 0, 0], 3029));
info!("Serving {} started on http://127.0.0.1:3029", cwd.display());
let app: &MyApp = Box::leak(Box::new(MyApp::new(&cwd).unwrap())) as &'static _;