1
0

enforce HTTPS for all federation

This commit is contained in:
Hazelnoot
2025-05-25 00:04:27 -04:00
parent b6a71d2362
commit 7f5e43530f
5 changed files with 46 additions and 3 deletions
@@ -236,6 +236,8 @@ export class HttpRequestService {
@bindThis
public async getActivityJson(url: string, isLocalAddressAllowed = false): Promise<IObjectWithId> {
this.apUtilityService.assertApUrl(url);
const res = await this.send(url, {
method: 'GET',
headers: {