Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
d-goog committed Feb 2, 2024
1 parent 9c91a5a commit 3654b0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion conformance-test/v4SignedUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ describe('v4 conformance test', () => {
const expires = NOW.valueOf() + testCase.expiration * 1000;
const version = 'v4' as const;
const host = testCase.hostname
? new URL((testCase.scheme || '') + testCase.hostname)
? new URL(
(testCase.scheme ? testCase.scheme + '://' : '') +
testCase.hostname
)
: undefined;
const origin = testCase.bucketBoundHostname
? `${testCase.scheme}://${testCase.bucketBoundHostname}`
Expand Down

0 comments on commit 3654b0d

Please sign in to comment.