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
|
2023-04-13 13:41:46 +00:00
|
|
|
result.next = 'debug'
|
2021-04-12 15:53:12 +00:00
|
|
|
return result
|
|
|
|
}
|