fix upload picture

master
Bel LaPointe 2022-02-10 11:04:17 -07:00
parent 5507858530
commit f62fe2cfe8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {