Skip to content

Commit f0444b1

Browse files
anisaoshafiskyrpex
andauthored
Update src/utils/configure-aws.ts
Co-authored-by: Cristian Pallarés <[email protected]>
1 parent 6677c0a commit f0444b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/configure-aws.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function isValidEndpointUrl(url: string | undefined): boolean {
5757
return (
5858
(parsed.protocol === "http:" || parsed.protocol === "https:") &&
5959
VALID_HOSTNAMES.includes(parsed.hostname) &&
60-
parsed.port // port must be present
60+
parsed.port !== "" // port must be present
6161
);
6262
} catch {
6363
return false;

0 commit comments

Comments
 (0)