}
],
- maxSessions: 1,
+ // maxSessions: 1,
// BrowserStack compatible ports: https://www.browserstack.com/question/664
baseUrl: 'http://localhost:3333/',
framework: 'jasmine',
# /!\ Don't enable this if you don't have a reactive moderation team /!\
auto_follow_index:
enabled: false
- index_url: 'https://instances.joinpeertube.org'
+ # Host your own using https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow
+ index_url: ''
theme:
default: 'default'
# /!\ Don't enable this if you don't have a reactive moderation team /!\
auto_follow_index:
enabled: false
- index_url: 'https://instances.joinpeertube.org'
+ # Host your own using https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow
+ index_url: ''
theme:
default: 'default'
this.lastCheck = new Date()
const { body } = await doRequest<any>({ uri, qs, json: true })
+ if (!body.data || Array.isArray(body.data) === false) {
+ logger.error('Cannot auto follow instances of index %s: bad URL format. Please check the auto follow URL.', indexUrl)
+ return
+ }
const hosts: string[] = body.data.map(o => o.host)
const chunks = chunk(hosts, 20)
followings: {
instance: {
autoFollowIndex: {
- indexUrl: 'http://localhost:42100',
+ indexUrl: 'http://localhost:42100/api/v1/instances/hosts',
enabled: true
}
}