Fix listen address

This commit is contained in:
spikecodes 2021-02-09 09:54:13 -08:00
parent ebbdd7185f
commit 008924fff8
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
1 changed files with 1 additions and 1 deletions

View File

@ -210,6 +210,6 @@ async fn main() -> tide::Result<()> {
// Default service in case no routes match
app.at("*").get(|_| utils::error("Nothing here".to_string()));
app.listen("127.0.0.1:8080").await?;
app.listen(address).await?;
Ok(())
}