Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isCName 不易作为判断是否启用CDN的依据 #41

Open
Tai7sy opened this issue Mar 8, 2018 · 2 comments
Open

isCName 不易作为判断是否启用CDN的依据 #41

Tai7sy opened this issue Mar 8, 2018 · 2 comments

Comments

@Tai7sy
Copy link

Tai7sy commented Mar 8, 2018

比如以下情况:
OSS只绑定了一个域名(且开启CDN), 这时候如果开启isCName, 则endpoint必须填写为 cname域名, 否则上传出错,
而endpoint填写为 cname域名, 会导致上传也走cdn,

@ziyeziye
Copy link

@ziyeziye
Copy link

修复了getUrl文件不存在报错的问题,和使用自定义域名(cdn)上传报错的问题:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants