We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ceae9b commit 6677c0aCopy full SHA for 6677c0a
src/utils/configure-aws.ts
@@ -57,8 +57,7 @@ function isValidEndpointUrl(url: string | undefined): boolean {
57
return (
58
(parsed.protocol === "http:" || parsed.protocol === "https:") &&
59
VALID_HOSTNAMES.includes(parsed.hostname) &&
60
- parsed.port !== "" && // port must be present
61
- (parsed.port === DEFAULT_PORT || /^\d+$/.test(parsed.port))
+ parsed.port // port must be present
62
);
63
} catch {
64
return false;
0 commit comments