server: listen on 0.0.0.0

This commit is contained in:
Paul Mathieu 2024-08-25 09:17:04 +02:00
parent 9d503d53cc
commit de55283839

View File

@ -49,7 +49,7 @@ async fn main() -> tide::Result<()> {
let mut app = tide::new();
app.at("/api/system/:seed").get(get_system);
app.at("/api/body/:seed").get(get_body);
app.listen("127.0.0.1:8080").await?;
app.listen("0.0.0.0:8080").await?;
Ok(())
}