Skip to content

Commit b8cc242

Browse files
cursoragentvershwal
andcommitted
Refactor: Use assignOptions for merging UrlUtils config
Co-authored-by: vershwal.princi <vershwal.princi@gmail.com>
1 parent 683e18c commit b8cc242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/url-utils/src/UrlUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default class UrlUtils {
108108
staticMediaUrlPrefix: 'content/media'
109109
};
110110

111-
this._config = Object.assign({}, defaultOptions, options) as UrlUtilsConfig;
111+
this._config = assignOptions({}, defaultOptions, options) as UrlUtilsConfig;
112112

113113
const assetBaseUrls = options.assetBaseUrls || {};
114114
this._assetBaseUrls = {

0 commit comments

Comments
 (0)