Returns a new URL having a signature parameter.
const signedUrl = signUrl("https://example.com/some-path?foo=bar", "secret");signedUrl.href; // "https://example.com/some-path?foo=bar&signature=..." Copy
const signedUrl = signUrl("https://example.com/some-path?foo=bar", "secret");signedUrl.href; // "https://example.com/some-path?foo=bar&signature=..."
The URL to sign.
The secret to use for signing.
The signature of the signed url.
Returns a new URL having a signature parameter.