2022-01-11 00:29:33 +00:00
|
|
|
import type { RegisterServerOptions } from '@peertube/peertube-types'
|
2021-04-12 15:53:12 +00:00
|
|
|
import { newResult, TestResult } from './utils'
|
|
|
|
|
2021-04-12 18:15:44 +00:00
|
|
|
export async function diagBackend (test: string, _options: RegisterServerOptions): Promise<TestResult> {
|
2021-04-12 15:53:12 +00:00
|
|
|
const result = newResult(test)
|
|
|
|
result.label = 'Backend connection'
|
|
|
|
result.ok = true
|
|
|
|
result.next = 'webchat-video'
|
|
|
|
return result
|
|
|
|
}
|