matheusgomes28 / urchin

Headless CMS written in Golang
MIT License
60 stars 19 forks source link

Simplify getting image content from the "media" directory #79

Closed matheusgomes28 closed 3 months ago

matheusgomes28 commented 4 months ago

Currently, we use a GET handler to retrieve images for the user through the database and disk.

After pondering on this, the upload should really be as simple uploading an image to a static directory. We should probably keep the size checks and all, but remove the database stuff.

matheusgomes28 commented 3 months ago

Started work with #83, still need to do necessary changes to make images delivered statically with Gin, without need for specialised endpoints.

matheusgomes28 commented 3 months ago

This was finished with #86