switch default bind to 0.0.0.0
This commit is contained in:
parent
9be9eb11a7
commit
42ef3ed758
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user