From a74f37e965b0d4ff48ce1bda534a009389a015ec Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Mon, 16 Nov 2020 14:45:20 -0800 Subject: [PATCH] Added server start log --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 312981c..9e969bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,6 +23,7 @@ async fn favicon() -> HttpResponse { #[actix_web::main] async fn main() -> std::io::Result<()> { // start http server + println!("Running Libreddit on 0.0.0.0:8080!"); HttpServer::new(|| { App::new() // GENERAL SERVICES @@ -41,7 +42,7 @@ async fn main() -> std::io::Result<()> { // USER SERVICES .service(user::page) }) - .bind("127.0.0.1:8080")? + .bind("0.0.0.0:8080")? .run() .await }