mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
UI/feature/enable disable lan (#192)
* ui: skip startup notifications in mocks * ui: enable-disable lan toggle in ui * ui: remove this.lanAddress for this.app.lanAddress
This commit is contained in:
committed by
Aiden McClelland
parent
a20970fa17
commit
5cf7d1ff88
@@ -13,6 +13,10 @@ export class HttpService {
|
||||
private readonly config: ConfigService,
|
||||
) { }
|
||||
|
||||
get raw () : HttpClient {
|
||||
return this.http
|
||||
}
|
||||
|
||||
async serverRequest<T> (options: HttpOptions, overrides: Partial<{ version: string }> = { }): Promise<T> {
|
||||
options.url = leadingSlash(`${this.config.api.url}${exists(overrides.version) ? overrides.version : this.config.api.version}${options.url}`)
|
||||
if ( this.config.api.root && this.config.api.root !== '' ) {
|
||||
|
||||
Reference in New Issue
Block a user