hasanaktasTRH
Convex Community2y ago
8 replies
hasanaktasTR

Storage generate upload url new features

Is it possible to add any restrictions in the function that we can use when generating upload URLs for storage in the future?

for example
-file size
-file type
-expiry

example api
storage.generateUploadUrl({
size:2048 //byte
type:"image/*",
expiry:10 //seconds
});


usage scenarios can be expanded.

do you have any plans for this?
Was this page helpful?