summaryrefslogtreecommitdiff
path: root/src/routes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.rs')
-rw-r--r--src/routes.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes.rs b/src/routes.rs
index 3e2fc04..3180afa 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -27,9 +27,7 @@ pub fn routes(app: &App) -> Router<App> {
.route("/api/setup", post(setup::handlers::setup))
.route("/api/vapid", get(push::handlers::vapid))
.route("/api/push", post(push::handlers::register))
- .route("/api/push", delete(push::handlers::unregister))
- .route("/api/broadcast", post(push::handlers::broadcast))
- .route("/api/echo", post(push::handlers::echo));
+ .route("/api/push", delete(push::handlers::unregister));
// API routes that require the administrator to complete setup first.
let api_setup_required = Router::new()