aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/routing/server-config-resolver.service.ts
blob: 8d2390d38f00b52b7f279c91a04fb2b419c89615 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { Injectable } from '@angular/core'
import { ServerService } from '../server'

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

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