Skip to content

Commit 380e639

Browse files
committed
Force HTTPS
1 parent da50485 commit 380e639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/cognito/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type CognitoProps = {
4343
export type CognitoAction = { action: 'save.config' };
4444

4545
const getDomainWithHttps = (url: string): string => {
46-
if (url.startsWith('https://') || url.startsWith('http://')) {
46+
if (url.startsWith('https://')) {
4747
return url;
4848
} else {
4949
return `https://${url}`;

0 commit comments

Comments
 (0)