We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you enable the CDN property for this S3 provider you get a malformed url. Would suggest something like this in the GetItemUrl method:
public override string GetItemUrl(IBlobContentLocation content) { string baseUrl = string.Concat("http://", this.bucketName, ".s3.amazonaws.com/"); if (!this.Cdn.IsNullOrWhitespace()) { if (Cdn.EndsWith("/")) { baseUrl = string.Empty; } else { baseUrl = "/"; } } return string.Concat(baseUrl, content.FilePath); }
The text was updated successfully, but these errors were encountered:
I have the same type of problem, some solution?
Sorry, something went wrong.
No branches or pull requests
When you enable the CDN property for this S3 provider you get a malformed url. Would suggest something like this in the GetItemUrl method:
The text was updated successfully, but these errors were encountered: