Initial PeerTube Support

This commit is contained in:
Arkadiusz Fal
2022-12-09 01:15:19 +01:00
parent 72ea17b257
commit faf2469e04
39 changed files with 816 additions and 92 deletions

View File

@@ -56,12 +56,23 @@ final class AccountValidator: Service {
case .piped:
return resource("/streams/dQw4w9WgXcQ")
case .peerTube:
// TODO: fixme
return resource("")
case .local:
return resource("")
}
}
func validateInstance() {
reset()
app.wrappedValue = .peerTube
setValidationResult(true)
return
guard let app = appsToValidateInstance.popLast() else { return }
tryValidatingUsing(app)
}