Skip to content

Cannot set global secure flag #30

@itwolf81

Description

@itwolf81

Hi,

looking at the implementation of the Api.cs, there is no way to set global Url.Secure(true) flag:

public Url Url
        {
            get
            {
                return new Url(Account.Cloud, this)
                    .CSubDomain(CSubDomain)
                    .Shorten(ShortenUrl)
                    .PrivateCdn(UsePrivateCdn)
                    .Secure(UsePrivateCdn)
                    .SecureDistribution(PrivateCdn);
            }
        }

Can you please fix this by providing a way to set this flag globally without requirement to set UsePrivateCdn to true.

Thank you,
Michal

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions