Keystone JS: local file uploads being auto-renamed

隐身守侯 提交于 2019-12-12 05:48:14

问题


Whenever i am uploading file after upload name is getting change to random value? I think it is default function of keystone.How can i stop this?


回答1:


You can pass originalName: true to the schema configuration. This gives you both names as a reference.



来源:https://stackoverflow.com/questions/41821564/keystone-js-local-file-uploads-being-auto-renamed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!