matheusgomes28 / urchin

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

Remove the image folder configuration #66

Open matheusgomes28 opened 5 months ago

matheusgomes28 commented 5 months ago

I realised that having the image folder configurable in the project may disjoin the database metadata with the filesystem.

For example: A user may spin up the admin-app with the image folder set to ./media, then add some images through the post endpoints. After closing the app, the user then opens the admin-app again with the image folder set to ./images - This would break the image {GET,POST,DELETE} functionality.