Description
Add a PluginServerStorage that uploads files to the Nitro server, which then forwards them to the configured storage provider. This keeps storage credentials server-side and enables server-side validation/processing.
Proposed API
// Client
const uploader = useUploadKit({
storage: PluginServerStorage()
})
Context
Current architecture uploads directly from browser to cloud providers. Some use cases require routing through the server first (auth checks, virus scanning, hiding credentials, server-side transforms).
Description
Add a
PluginServerStoragethat uploads files to the Nitro server, which then forwards them to the configured storage provider. This keeps storage credentials server-side and enables server-side validation/processing.Proposed API
Context
Current architecture uploads directly from browser to cloud providers. Some use cases require routing through the server first (auth checks, virus scanning, hiding credentials, server-side transforms).