diff options
author | xengineering <me@xengineering.eu> | 2023-02-11 13:08:04 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-11 13:08:04 +0100 |
commit | 312c59564700da719dbafad11c2d9f647b46d912 (patch) | |
tree | cb427f843e2aa92f72d01a7c8cd28bbb7415358a /handler.go | |
parent | 7e517ada827abc2658bb07347bc656c10860e091 (diff) | |
download | ceres-312c59564700da719dbafad11c2d9f647b46d912.tar ceres-312c59564700da719dbafad11c2d9f647b46d912.tar.zst ceres-312c59564700da719dbafad11c2d9f647b46d912.zip |
Migrate storage.go to global config
Diffstat (limited to 'handler.go')
-rw-r--r-- | handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -264,7 +264,7 @@ func recipeImageGet(w http.ResponseWriter, r *http.Request) { // serve image path := fmt.Sprintf("recipes/image/%s.jpg", idStr) - ServeStorage(w, r, config.Http.Storage, path) + ServeStorage(w, r, path) } func addRecipesGet(w http.ResponseWriter, r *http.Request) { |