mirror of
https://github.com/MatrixSeven/file-transfer-go.git
synced 2026-03-12 11:07:46 +08:00
feat: 文字图片传输支持,去掉无用交互和接口
This commit is contained in:
@@ -62,7 +62,8 @@ func main() {
|
||||
|
||||
// WebRTC房间API
|
||||
r.Post("/api/create-room", h.CreateRoomHandler)
|
||||
r.Get("/api/room-info", h.RoomStatusHandler)
|
||||
r.Get("/api/room-info", h.WebRTCRoomStatusHandler)
|
||||
r.Get("/api/webrtc-room-status", h.WebRTCRoomStatusHandler)
|
||||
|
||||
// 构建服务器地址
|
||||
addr := fmt.Sprintf(":%d", *port)
|
||||
|
||||
Reference in New Issue
Block a user