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

绑定oss自定义域名生成临时url问题 #293

Open
ChineseOperator opened this issue Aug 30, 2024 · 1 comment
Open

绑定oss自定义域名生成临时url问题 #293

ChineseOperator opened this issue Aug 30, 2024 · 1 comment

Comments

@ChineseOperator
Copy link

我调整domain参数为我的自定义域名,但是生成的临时url还是oss提供的域名,我看阿里云文档上面写的sdk示例是这样的,是不是这个参数没有配置导致的呀
// 设置是否支持CNAME。CNAME用于将自定义域名绑定到目标Bucket。
conf.setSupportCname(true);

后续如果要自己定义生成自定义域名的话,是不是得自己自行实现了

@1171736840
Copy link
Collaborator

1171736840 commented Aug 31, 2024

默认 SDK 取的是 end-point ,你可以自定义 存储平台 Client 工厂 在实现这个功能,后续也会添加相关参数的

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