gorilla

    20熱度

    2回答

    我看到的問題是,我試圖使用http.FileServer Gorilla mux Router.Handle函數。 這不起作用(圖像返回404).. myRouter := mux.NewRouter() myRouter.Handle("/images/", http.StripPrefix("/images/", http.FileServer(http.Dir(HomeFolder + "