@c-time/frelio-cms 1.3.9 → 1.3.10

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.
@@ -932,7 +932,7 @@ var R2RepositoryImpl = class {
932
932
  return (/* @__PURE__ */ new Date()).getFullYear();
933
933
  }
934
934
  getBaseUrl() {
935
- return this.publicUrl;
935
+ return this.publicUrl.replace(/\/+$/, "");
936
936
  }
937
937
  toObjectInfo(obj) {
938
938
  return {
package/dist/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Frelio CMS</title>
7
- <script type="module" crossorigin src="/assets/index-DCWmZub0.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-IgMQc1uy.js"></script>
8
8
  </head>
9
9
  <body>
10
10
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-time/frelio-cms",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "description": "Frelio CMS Admin - pre-built static bundle for 1-repo setup",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -126,7 +126,7 @@ export class R2RepositoryImpl implements R2RepositoryPort {
126
126
  }
127
127
 
128
128
  getBaseUrl(): string {
129
- return this.publicUrl
129
+ return this.publicUrl.replace(/\/+$/, '')
130
130
  }
131
131
 
132
132
  private toObjectInfo(obj: R2Object | R2ObjectBody): R2ObjectInfo {