Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tests

Chocobozzza06581f2968d
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index dfa2234daf..04abc67382 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -884,7 +884,7 @@ describe('Test users notifications', function () {
followings: {
instance: {
autoFollowIndex: {
- indexUrl: 'http://localhost:42100',
+ indexUrl: 'http://localhost:42101/api/v1/instances/hosts',
enabled: true
}
}
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts
index 35b08477f9..743d10316b 100644
--- a/shared/extra-utils/server/config.ts
+++ b/shared/extra-utils/server/config.ts
@@ -155,7 +155,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
enabled: false
},
autoFollowIndex: {
- indexUrl: 'https://instances.joinpeertube.org',
+ indexUrl: 'https://instances.joinpeertube.org/api/v1/instances/hosts',
enabled: false
}
}