Compare commits
1 commit
dev
...
wip/sig-te
Author | SHA1 | Date | |
---|---|---|---|
![]() |
959384adf6 |
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ public class AuthorizedFetchMiddleware(
|
|||
|
||||
//TODO: cache this somewhere
|
||||
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);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue