Skip to content

Commit

Permalink
signToActivityPubGetをデフォルト有効に
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 authored and fs5m8 committed Dec 31, 2022
1 parent 6e1d936 commit c94ecfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .config/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ autoAdmin: true
# Media Proxy
#mediaProxy: https://example.com/proxy

# Sign to ActivityPub GET request (default: false)
#signToActivityPubGet: true
# Sign to ActivityPub GET request (default: true)
#signToActivityPubGet: flase

# Allowed network address (default: all allowed)
#allowedPrivateNetworks: [
Expand Down
2 changes: 1 addition & 1 deletion src/remote/activitypub/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class Resolver {
throw new Error('Instance is blocked');
}

if (config.signToActivityPubGet && !this.user) {
if (config.signToActivityPubGet !== false && !this.user) {
this.user = await getInstanceActor();
}

Expand Down

0 comments on commit c94ecfd

Please sign in to comment.