Chocobozzz/PeerTube

View on GitHub
client/src/app/core/routing/server-config-resolver.service.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Injectable } from '@angular/core'
import { ServerService } from '../server'

@Injectable()
export class ServerConfigResolver {
  constructor (private server: ServerService) {}

  resolve () {
    return this.server.getConfig()
  }
}