First one #8

Merged
phoenix merged 42 commits from get_it_going into v0.2.0 2026-06-13 19:49:15 -04:00
Showing only changes of commit a630f6dcdc - Show all commits
+4 -4
View File
@@ -80,10 +80,10 @@ pub mod init {
pub async fn routes() -> axum::Router { pub async fn routes() -> axum::Router {
axum::Router::new() axum::Router::new()
.route( .route(
crate::callers::queue::endpoints::QUEUESONG, crate::caller::endpoints::ADD_CONTACT,
post(crate::callers::queue::song::endpoint::queue_song).route_layer( post(contact_endpoints::create_contact).route_layer(axum::middleware::from_fn(
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>), crate::auth::auth::<axum::body::Body>,
), )),
) )
.layer(cors::configure_cors().await) .layer(cors::configure_cors().await)
} }