mirror of
https://github.com/fatedier/frp.git
synced 2026-07-17 01:39:18 +08:00
feat: add system info API v2 (#5394)
This commit is contained in:
@@ -2,5 +2,5 @@ import { http } from './http'
|
||||
import type { ServerInfo } from '../types/server'
|
||||
|
||||
export const getServerInfo = () => {
|
||||
return http.get<ServerInfo>('../api/serverinfo')
|
||||
return http.getV2<ServerInfo>('../api/v2/system/info')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user