Fix listen address

This commit is contained in:
spikecodes
2021-02-09 09:54:13 -08:00
parent ebbdd7185f
commit 008924fff8

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(())
}