refactor(openflare): remove unused About page and API

Delete AboutService and GET /api/v1/d/about since the about page was
never implemented in the Wavelet frontend.
This commit is contained in:
ryan
2026-06-19 11:17:57 +08:00
parent 42ca0ec642
commit 8fb988ba0a
11 changed files with 2 additions and 159 deletions
-3
View File
@@ -27,7 +27,6 @@ import {PushService} from './push';
import {AdminUploadService, UploadService} from './upload';
import {UserService} from './user';
import {
AboutService,
AccessLogService,
ApplyLogService,
ConfigVersionService,
@@ -62,7 +61,6 @@ const services = {
adminUpload: AdminUploadService,
dbManage: DbManageService,
push: PushService,
openflareAbout: AboutService,
openflareNode: NodeService,
openflareProxyRoute: ProxyRouteService,
openflareConfigVersion: ConfigVersionService,
@@ -183,7 +181,6 @@ export type { PushEvent, PushHistory, PushChannelConfig, ListPushHistoriesReques
// ==================== OpenFlare 业务服务导出 ====================
export {
AboutService,
OpenFlareBaseService,
NodeService,
ProxyRouteService,
@@ -1,7 +0,0 @@
import {OpenFlareBaseService} from './base.service';
export class AboutService extends OpenFlareBaseService {
static getAboutContent(): Promise<string> {
return this.get<string>('/about');
}
}
@@ -1,4 +1,3 @@
export { AboutService } from './about.service';
export { OpenFlareBaseService } from './base.service';
export { NodeService } from './node.service';
@@ -119,7 +118,6 @@ export type {
TlsCertificateMutationPayload,
} from './types';
import {AboutService} from './about.service';
import {AccessLogService} from './access-log.service';
import {ApplyLogService} from './apply-log.service';
import {ConfigVersionService} from './config-version.service';
@@ -138,7 +136,6 @@ import {WafService} from './waf.service';
import {WebsiteService} from './website.service';
export const openflareServices = {
about: AboutService,
node: NodeService,
proxyRoute: ProxyRouteService,
configVersion: ConfigVersionService,