WEB-453: Remove fixed actuator endpoint (#2844)
This commit is contained in:
@@ -5,13 +5,18 @@ import { HttpClient } from '@angular/common/http';
|
||||
/** rxjs Imports */
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/** Custom Services */
|
||||
import { environment } from '../../environments/environment';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class VersionService {
|
||||
private http = inject(HttpClient);
|
||||
|
||||
private apiActuator = environment.apiActuator;
|
||||
|
||||
getBackendInfo(): Observable<any> {
|
||||
return this.http.get('/fineract-provider/actuator/info');
|
||||
return this.http.get(this.apiActuator + '/actuator/info');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user