Always `signToActivityPubGet`

This commit is contained in:
ThatOneCalculator 2022-08-22 23:44:26 -07:00
parent f0fa0cce6b
commit 899d7b42b5
3 changed files with 1 additions and 6 deletions

View File

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

View File

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

View File

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