Remove signToActivityPubGet option

Makes it so that all requests are signed, equivalent to
signToActivityPubGet always being true.
This commit is contained in:
Norm 2022-07-27 02:30:49 -04:00
parent 1521bc881c
commit 77bfc2450d
3 changed files with 1 additions and 6 deletions

View file

@ -120,9 +120,6 @@ redis:
# Proxy remote files (default: false)
#proxyRemoteFiles: true
# Sign to ActivityPub GET request (default: false)
#signToActivityPubGet: true
#allowedPrivateNetworks: [
# '127.0.0.1/32'
#]

View file

@ -63,8 +63,6 @@ export type Source = {
mediaProxy?: string;
proxyRemoteFiles?: boolean;
signToActivityPubGet?: boolean;
};
/**

View file

@ -72,7 +72,7 @@ export default class Resolver {
throw new Error('Instance is blocked');
}
if (config.signToActivityPubGet && !this.user) {
if (!this.user) {
this.user = await getInstanceActor();
}