]> git.proxmox.com Git - ceph.git/blame - 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
CommitLineData
33c7a0ef
TL
1import { HttpClient } from '@angular/common/http';
2import { Injectable } from '@angular/core';
3
4@Injectable({
5 providedIn: 'root'
6})
7export 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}