mirror of
https://github.com/fatedier/frp.git
synced 2026-05-03 14:31:40 +08:00
server: add client registry with dashboard support (#5115)
This commit is contained in:
6
web/frps/src/api/server.ts
Normal file
6
web/frps/src/api/server.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { http } from './http'
|
||||
import type { ServerInfo } from '../types/server'
|
||||
|
||||
export const getServerInfo = () => {
|
||||
return http.get<ServerInfo>('../api/serverinfo')
|
||||
}
|
||||
Reference in New Issue
Block a user