Closed sforce100 closed 7 years ago
when my assets is upload upyun, i need config assets host with upyun host. so i need custom host for rucaptcha_image_tag.
/rucaptcha 的路径是不能放 CDN 的呀!?
/rucaptcha
是的!就是因为/rucaptcha不能放cdn。因为1.2.0版本rucaptcha_image_tag获取的路由是用root_path。这样它就自动识别到cdn的host,所以我需要在rucaptcha_image_tag方法自定义一个host。
你的网站动态内容前面是有 CDN?
你只需要配置 CDN 上,让 /rucaptcha 不缓存就可以了呀
when my assets is upload upyun, i need config assets host with upyun host. so i need custom host for rucaptcha_image_tag.