From 008924fff8581b6bccfdf2bf0f540b3aebce5515 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Tue, 9 Feb 2021 09:54:13 -0800 Subject: [PATCH] Fix listen address --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9292f10..8e4bb1d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(()) }