Confine User inbox as well
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
f1c0741089
commit
b6dea3fd06
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue