upgradeProtocol

Function

Add protocol or upgrade http to https

  • upgradeProtocol(url: string) : string

Parameters

Parameter Type Default Notes
url Required string

Returns

string

Function defined in common/src/urls/upgrade-protocol.ts:5