]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/custom-login-banner.service.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / custom-login-banner.service.ts
1 import { HttpClient } from '@angular/common/http';
2 import { Injectable } from '@angular/core';
3
4 @Injectable({
5 providedIn: 'root'
6 })
7 export class CustomLoginBannerService {
8 baseUiURL = 'ui-api/login/custom_banner';
9
10 constructor(private http: HttpClient) {}
11
12 getBannerText() {
13 return this.http.get<string>(this.baseUiURL);
14 }
15 }