🐛 Fix the wrong asset base url in ap controller

This commit is contained in:
2025-12-31 18:59:24 +08:00
parent 6c8c52e3b2
commit ebd7539c95

View File

@@ -43,7 +43,7 @@ public class ActivityPubController(
var outboxUrl = $"{actorUrl}/outbox";
var followersUrl = $"{actorUrl}/followers";
var followingUrl = $"{actorUrl}/following";
var assetsBaseUrl = configuration["AssetsServerBaseUrl"] ?? $"https://{Domain}/files";
var assetsBaseUrl = configuration["ActivityPub:FileBaseUrl"] ?? $"https://{Domain}/files";
var publicKeyPem = await GetPublicKeyAsync(publisher);