mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
rework LAN display and service launchability
This commit is contained in:
committed by
Keagan McClelland
parent
daf701a76c
commit
deb0b1e561
@@ -7,8 +7,8 @@ import { ConfigService } from '../config.service'
|
||||
|
||||
export function ApiServiceFactory (config: ConfigService, http: HttpService, appModel: AppModel, serverModel: ServerModel) {
|
||||
if (config.api.useMocks) {
|
||||
return new MockApiService(appModel, serverModel)
|
||||
return new MockApiService(appModel, serverModel, config)
|
||||
} else {
|
||||
return new LiveApiService(http, appModel, serverModel)
|
||||
return new LiveApiService(http, appModel, serverModel, config)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user