From b6dea3fd06969b7d238c9d821f571be1386743e6 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Wed, 16 Oct 2024 19:29:56 -0500 Subject: [PATCH] Confine User inbox as well Signed-off-by: eternal-flame-AD --- src/serve.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/serve.rs b/src/serve.rs index df0f059..c2fff2c 100644 --- a/src/serve.rs +++ b/src/serve.rs @@ -40,6 +40,12 @@ pub async fn start< .put(ProxyApp::::inbox_handler) .patch(ProxyApp::::inbox_handler), ) + .route( + "/users/:id/inbox", + post(ProxyApp::::inbox_handler) + .put(ProxyApp::::inbox_handler) + .patch(ProxyApp::::inbox_handler), + ) .fallback(any(ProxyApp::::pass_through)); let ms = app