Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion relay-server/src/endpoints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ pub fn internal_routes(_: &Config) -> Router<ServiceState>{
/// Relay's public routes.
///
/// Routes which are public API and must be exposed.
#[expect(unused, reason = "temporarily unused")]
pub fn public_routes(config: &Config) -> Router<ServiceState> {
// Exclude internal routes, they must be configured separately.
public_routes_raw(config).route("/api/relay/{*not_found}", any(statics::not_found))
Expand Down
2 changes: 1 addition & 1 deletion relay-server/src/services/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl Service for HttpServer {
relay_statsd::metric!(counter(RelayCounters::ServerStarting) += 1);

if let Some(internal_listener) = internal_listener {
let public = make_app(service.clone(), crate::endpoints::all_routes);
let public = make_app(service.clone(), crate::endpoints::public_routes);
let internal = make_app(service, crate::endpoints::internal_routes);

tokio::try_join!(
Expand Down
Loading