We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6ca702 commit 98e497bCopy full SHA for 98e497b
main.go
@@ -14,7 +14,7 @@ func main() {
14
flag.Parse()
15
16
http.HandleFunc("/", fileServer.ShowRouterS)
17
- http.Handle("/SimpleDownload/", http.StripPrefix("/SimpleDownload/", http.FileServer(http.Dir(fileServer.BASE_PATH))))
+ http.Handle("/file/", http.StripPrefix("/file/", http.FileServer(http.Dir(fileServer.BASE_PATH))))
18
19
http.HandleFunc("/download", fileServer.Download)
20
http.HandleFunc("/upload", fileServer.Upload)
0 commit comments