@capillarytech/creatives-library 7.12.117 → 7.12.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -149,7 +149,7 @@ export const getCdnUrl = ({
|
|
|
149
149
|
let CREATIVES_S3_BUCKET_PATH = getLocalStorageItem(CREATIVES_S3_BUCKET_PATH_KEY);
|
|
150
150
|
|
|
151
151
|
//remove all leading and trailing forward slash with empty string, if leading/trailing forward slash is present in node env by mistake then url will not be correct hence removing them.
|
|
152
|
-
CREATIVES_S3_BUCKET_PATH = CREATIVES_S3_BUCKET_PATH
|
|
152
|
+
CREATIVES_S3_BUCKET_PATH = CREATIVES_S3_BUCKET_PATH?.replace(/^\/|\/$/g, '');
|
|
153
153
|
|
|
154
154
|
//Basic validations on data stored in local storage.
|
|
155
155
|
if (
|