Skip to content

Commit 1aa353f

Browse files
committed
Log warning when unauthenticated Trino routes are enabled
1 parent b2c1c37 commit 1aa353f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pdp-server/src/api/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub(super) fn router(state: &AppState) -> Router<AppState> {
1515
let mut root = Router::new().merge(health::router());
1616

1717
if state.config.allow_unauthenticated_trino {
18+
log::warn!("[NOTICE] Unauthenticated Trino routes are enabled");
1819
root = root.merge(trino::router());
1920
}
2021

0 commit comments

Comments
 (0)