Confine User inbox as well

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
ゆめ 2024-10-16 19:29:56 -05:00
parent f1c0741089
commit b6dea3fd06
No known key found for this signature in database

View file

@ -40,6 +40,12 @@ pub async fn start<
.put(ProxyApp::<S, E>::inbox_handler)
.patch(ProxyApp::<S, E>::inbox_handler),
)
.route(
"/users/:id/inbox",
post(ProxyApp::<S, E>::inbox_handler)
.put(ProxyApp::<S, E>::inbox_handler)
.patch(ProxyApp::<S, E>::inbox_handler),
)
.fallback(any(ProxyApp::<S, E>::pass_through));
let ms = app