server: listen on 0.0.0.0
This commit is contained in:
parent
9d503d53cc
commit
de55283839
@ -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(())
|
||||
}
|
||||
|
||||
@ -259,4 +259,4 @@ async fn get_system(_req: Request<()>) -> tide::Result {
|
||||
})?)
|
||||
.build();
|
||||
Ok(response)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user