fix upload picture
This commit is contained in:
@@ -198,7 +198,7 @@ func (server *Server) tree() Tree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (server *Server) diskMediaPath(id string) string {
|
func (server *Server) diskMediaPath(id string) string {
|
||||||
return path.Join(server.root, "media", id, "data")
|
return path.Join(server.root, "media", id)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (server *Server) apiV0FilesHandler(w http.ResponseWriter, r *http.Request) error {
|
func (server *Server) apiV0FilesHandler(w http.ResponseWriter, r *http.Request) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user