This commit is contained in:
xomf 2024-03-23 16:06:04 -04:00
parent ae5ebefe4b
commit d22d3a71c8

View File

@ -5,7 +5,7 @@ mod templates;
use actix_web::{web, App, HttpServer}; use actix_web::{web, App, HttpServer};
pub(crate) async fn start_actix() -> anyhow::Result<()> { pub(crate) async fn start_actix() -> anyhow::Result<()> {
log::info!("Serving an http server at https://0.0.0.0:8080"); log::info!("Serving an http server at http://0.0.0.0:8080");
HttpServer::new(|| { HttpServer::new(|| {
App::new() App::new()
.route("/", web::get().to(routes::index)) .route("/", web::get().to(routes::index))