|
|
@ -22,7 +22,8 @@ export class ConfigurationService { |
|
|
|
constructor(private http: Http, private storageService: StorageService) { } |
|
|
|
|
|
|
|
load() { |
|
|
|
let url = "/Home/Configuration"; |
|
|
|
const baseURI = document.baseURI.endsWith('/') ? document.baseURI : `${document.baseURI}/`; |
|
|
|
let url = `${baseURI}Home/Configuration`; |
|
|
|
this.http.get(url).subscribe((response: Response) => { |
|
|
|
console.log('server settings loaded'); |
|
|
|
this.serverSettings = response.json(); |
|
|
|