src.app.core.services.global-var.service.ts Maven / Gradle / Ivy
The newest version!
/*
* SPDX-FileCopyrightText: 2017-2024 Enedis
*
* SPDX-License-Identifier: Apache-2.0
*
*/
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { environment } from '@env/environment';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
@Injectable({
providedIn: 'root'
})
export class GlobalVariableService {
private url = '/api/ui/globalvar/v1';
constructor(private http: HttpClient) {
}
public get(fileName: string): Observable {
return this.http.get
© 2015 - 2024 Weber Informatics LLC | Privacy Policy