Browse Source

删除下载路由

master
453530270@qq.com 2 years ago
parent
commit
ddbdfbf6e6
  1. 4
      fssc/main.go

4
fssc/main.go

@ -38,12 +38,8 @@ func sendClient() error {
http.Handle("/static/", http.StripPrefix("/static/",
http.FileServer(http.FS(web.StaticFs))))
http.HandleFunc("/download/", handler.FileServerHandler)
// 下载压缩包
http.HandleFunc("/dlzip", handler.Downzip)
// udp 传送文件
http.HandleFunc("/sendZip", handler.SendZip)
// 已经打包的zip存放位置
http.HandleFunc("/files", handler.Dfiles)
fmt.Println("send file to server...")

Loading…
Cancel
Save