nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
802 stars 35 forks source link

Allow to name uploaded image from the admin #143

Open Barbapapazes opened 3 weeks ago

Barbapapazes commented 3 weeks ago

Hello 👋,

Do you think, when uploading an image from the dashboard, we could add our own name? I thinking of a use case where you need to replace an image of your website and having the ability to name or rename this uploaded image allow this use case.

https://github.com/nuxt-hub/core/blob/main/src/runtime/server/api/_hub/blob/%5B...pathname%5D.put.ts

Atinux commented 3 weeks ago

I think it can also fit with the ability to specify the prefix (to add it inside a directory) in the upcoming modal. cc @SarahM19