@redneckz/wildless-cms-uni-blocks 0.14.503 → 0.14.504
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/bundle/bundle.umd.js +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/utils/getBasePath.js +2 -2
- package/dist/utils/getBasePath.js.map +1 -1
- package/lib/utils/getBasePath.js +2 -2
- package/lib/utils/getBasePath.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/utils/getBasePath.js +2 -2
- package/mobile/dist/utils/getBasePath.js.map +1 -1
- package/mobile/lib/utils/getBasePath.js +2 -2
- package/mobile/lib/utils/getBasePath.js.map +1 -1
- package/mobile/src/utils/getBasePath.ts +2 -2
- package/package.json +1 -1
- package/src/utils/getBasePath.ts +2 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -350,8 +350,8 @@
|
|
|
350
350
|
|
|
351
351
|
function getBasePath(siteUrl = '') {
|
|
352
352
|
try {
|
|
353
|
-
const [,
|
|
354
|
-
return `/${
|
|
353
|
+
const [, ...tail] = new URL(siteUrl).pathname.split('/');
|
|
354
|
+
return `/${tail.filter(Boolean).join('/')}`;
|
|
355
355
|
}
|
|
356
356
|
catch (_) {
|
|
357
357
|
return '';
|
|
@@ -6446,7 +6446,7 @@
|
|
|
6446
6446
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6447
6447
|
});
|
|
6448
6448
|
|
|
6449
|
-
const packageVersion = "0.14.
|
|
6449
|
+
const packageVersion = "0.14.503";
|
|
6450
6450
|
|
|
6451
6451
|
exports.Blocks = Blocks;
|
|
6452
6452
|
exports.ContentPage = ContentPage;
|