Skip to content

Commit

Permalink
Remove https assert for backend api URL
Browse files Browse the repository at this point in the history
  • Loading branch information
incorbador committed Jun 27, 2024
1 parent e707193 commit e7512c3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/helpers/assert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@ class Assert {
);
}

validate(
parsedUrl.protocol !== 'https:',
`${errorName} URL scheme assertion failed`,
INVALID_URL.code,
'scheme needs to be https',
INVALID_URL.isOperational,
);

validate(
Boolean(parsedUrl.username),
`${errorName} URL username assertion failed`,
Expand Down

0 comments on commit e7512c3

Please sign in to comment.