switch default bind to 0.0.0.0

This commit is contained in:
mat 2024-02-02 21:48:11 -06:00
parent 9be9eb11a7
commit 42ef3ed758

View File

@ -6,7 +6,7 @@ use std::net::SocketAddr;
use axum::{http::header, routing::get, Router}; use axum::{http::header, routing::get, Router};
pub const BIND_ADDRESS: &str = "[::]:28019"; pub const BIND_ADDRESS: &str = "0.0.0.0:28019";
pub async fn run() { pub async fn run() {
let app = Router::new() let app = Router::new()