加入版本显示
This commit is contained in:
7 files changed
+61
-1
No files matched your search
@@ -131,6 +131,10 @@ export function getHealth(): Promise<HealthStatus> {
|
||||
return getJSON<HealthStatus>('/api/health')
|
||||
}
|
||||
|
||||
export function getBackendVersion(): Promise<{ version: string; commit: string }> {
|
||||
return getJSON<{ version: string; commit: string }>('/api/version')
|
||||
}
|
||||
|
||||
export function getHelpContent(): Promise<HelpContentResponse> {
|
||||
return getJSON<HelpContentResponse>('/api/help')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user