阅读背景:

Keystone JS:使用临时字符串自动重命名S3图像上传

来源:互联网 

I'm pretty new to Keystone as I recently inherited a codebase on a project that used it. We were locked into version 0.2.42 so I just updated to the latest, version 0.3.12 and now I'm having a strange issue. All our models with images use S3 for upload (Types.S3File) and it used to just place the image with the original file name at the root of the specified S3 bucket. Now, however, the files are being renamed with what I'm guessing is a temporary string name. For example if I upload a file called "MyImage.jpg," it will upload as something like "7830c3a6bc7b6790e63de9a3c3716b06.jpg." Is there a new configuration I need to edit to retain the original file name as used to be the case? Thank you for your help.I'm pretty new to Keystone as I recently inheri




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: