PeerTube/client/src/app/core/routing/server-config-resolver.serv...

12 lines
242 B
TypeScript

import { Injectable } from '@angular/core'
import { ServerService } from '../server'
@Injectable()
export class ServerConfigResolver {
constructor (private server: ServerService) {}
resolve () {
return this.server.getConfig()
}
}