🐛 Fix wrong usage of assets base url
This commit is contained in:
@@ -194,7 +194,7 @@ public class ActivityPubDeliveryService(
|
|||||||
{
|
{
|
||||||
["type"] = "Document",
|
["type"] = "Document",
|
||||||
["mediaType"] = "image/jpeg",
|
["mediaType"] = "image/jpeg",
|
||||||
["url"] = $"https://{Domain}/api/files/{a.Id}"
|
["url"] = $"{AssetsBaseUrl}/{a.Id}"
|
||||||
}).ToList<object>()
|
}).ToList<object>()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -248,7 +248,7 @@ public class ActivityPubDeliveryService(
|
|||||||
{
|
{
|
||||||
["type"] = "Document",
|
["type"] = "Document",
|
||||||
["mediaType"] = "image/jpeg",
|
["mediaType"] = "image/jpeg",
|
||||||
["url"] = $"https://{Domain}/api/files/{a.Id}"
|
["url"] = $"{AssetsBaseUrl}/{a.Id}"
|
||||||
}).ToList<object>()
|
}).ToList<object>()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user