mirror of
https://github.com/MatrixSeven/file-transfer-go.git
synced 2026-02-04 03:25:03 +08:00
feat:文字传输支持
This commit is contained in:
@@ -62,7 +62,7 @@ func main() {
|
||||
|
||||
// 文字传输API路由
|
||||
r.Post("/api/create-text-room", h.CreateTextRoomHandler)
|
||||
r.Get("/api/get-text-content/*", h.GetTextContentHandler)
|
||||
r.Get("/api/get-text-content", h.GetTextContentHandler)
|
||||
|
||||
// 启动服务器
|
||||
srv := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user