Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Laura Hausmann
959384adf6
wip 2025-01-07 07:30:26 +01:00

View file

@ -47,7 +47,8 @@ public class AuthorizedFetchMiddleware(
//TODO: cache this somewhere //TODO: cache this somewhere
var instanceActorUri = $"/users/{(await systemUserSvc.GetInstanceActorAsync()).Id}"; var instanceActorUri = $"/users/{(await systemUserSvc.GetInstanceActorAsync()).Id}";
if (request.Path.Value == instanceActorUri) var relayActorUri = $"/users/{(await systemUserSvc.GetRelayActorAsync()).Id}";
if (request.Path.Value == instanceActorUri || request.Path.Value == relayActorUri)
{ {
await next(ctx); await next(ctx);
return; return;