From 6c04f21a209a50ec86444d34851e2239c2aee7b6 Mon Sep 17 00:00:00 2001 From: Timo Boomers Date: Fri, 18 Jul 2025 12:14:31 +0200 Subject: [PATCH] changed listen address --- assets/css/main.css | 6 ------ src/main.rs | 4 +--- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index a29f058..9a99a4f 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -19,8 +19,6 @@ --text-xl--line-height: calc(1.75 / 1.25); --text-2xl: 1.5rem; --text-2xl--line-height: calc(2 / 1.5); - --text-3xl: 1.875rem; - --text-3xl--line-height: calc(2.25 / 1.875); --text-4xl: 2.25rem; --text-4xl--line-height: calc(2.5 / 2.25); --text-6xl: 3.75rem; @@ -1149,10 +1147,6 @@ font-size: var(--text-2xl); line-height: var(--tw-leading, var(--text-2xl--line-height)); } - .text-3xl { - font-size: var(--text-3xl); - line-height: var(--tw-leading, var(--text-3xl--line-height)); - } .text-4xl { font-size: var(--text-4xl); line-height: var(--tw-leading, var(--text-4xl--line-height)); diff --git a/src/main.rs b/src/main.rs index 61d5abb..d1c9573 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,9 +45,7 @@ async fn main() { .with_state(app_state); // run it - let listener = tokio::net::TcpListener::bind("127.0.0.1:3000") - .await - .unwrap(); + let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap(); println!("listening on {}", listener.local_addr().unwrap()); axum::serve(listener, app).await.unwrap(); }