mirror of
https://github.com/MatrixSeven/file-transfer-go.git
synced 2026-05-13 14:47:31 +08:00
feat: 移除WebRTC房间状态API,优化路由设置
This commit is contained in:
@@ -106,13 +106,6 @@ export class ClientAPI {
|
||||
async getRoomInfo(code: string): Promise<ApiResponse> {
|
||||
return this.get(`/api/room-info?code=${code}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取WebRTC房间状态
|
||||
*/
|
||||
async getWebRTCRoomStatus(code: string): Promise<ApiResponse> {
|
||||
return this.get(`/api/webrtc-room-status?code=${code}`);
|
||||
}
|
||||
}
|
||||
|
||||
// 导出单例实例
|
||||
|
||||
Reference in New Issue
Block a user