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 1b33ea8 commit 734ada0Copy full SHA for 734ada0
libs/url/builder.js
@@ -93,14 +93,11 @@ module.exports.buildURL = function(opts) {
93
expiryTimestamp : expiryTimestamp
94
});
95
96
- if(opts.signed === true) {
97
- if(expiryTimestamp && expiryTimestamp != DEFAULT_TIMESTAMP) {
98
- queryParameters.set(TIMESTAMP_PARAMETER, expiryTimestamp);
99
- }
100
- queryParameters.set(SIGNATURE_PARAMETER, urlSignature);
101
- urlObject.search = queryParameters.toString();
+ if(expiryTimestamp && expiryTimestamp != DEFAULT_TIMESTAMP) {
+ queryParameters.set(TIMESTAMP_PARAMETER, expiryTimestamp);
102
}
103
-
+ queryParameters.set(SIGNATURE_PARAMETER, urlSignature);
+ urlObject.search = queryParameters.toString();
104
105
106
0 commit comments