Cors support #62

Merged
phoenix merged 11 commits from cors into main 2025-10-10 20:32:29 +00:00
Showing only changes of commit 9c03010bc3 - Show all commits

View File

@@ -8,7 +8,7 @@ async fn main() {
let app = init::app().await; let app = init::app().await;
// run our app with hyper, listening globally on port 3000 // run our app with hyper, listening globally on port 8001
let url = config::get_full(); let url = config::get_full();
let listener = tokio::net::TcpListener::bind(url).await.unwrap(); let listener = tokio::net::TcpListener::bind(url).await.unwrap();
axum::serve(listener, app).await.unwrap(); axum::serve(listener, app).await.unwrap();