Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang committed Nov 6, 2024
1 parent 6fe4863 commit bc9d798
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/frontend/src/webhook/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ impl WebhookService {
use handlers::*;
let srv = Arc::new(self);

// tracing_subscriber::registry()
// .with(tracing_subscriber::fmt::layer())
// .init();

let cors_layer = CorsLayer::new()
.allow_origin(cors::Any)
.allow_methods(vec![Method::POST]);
Expand All @@ -190,10 +186,7 @@ impl WebhookService {
)
.layer(cors_layer);

// let dashboard_router = risingwave_meta_dashboard::router();

let app = Router::new()
// .fallback_service(dashboard_router)
.nest("/message", api_router)
.layer(CompressionLayer::new());

Expand Down

0 comments on commit bc9d798

Please sign in to comment.