muffin-admin 3.14.0 → 3.14.1

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.
@@ -102,6 +102,7 @@ export function MuffinDataprovider(apiUrl) {
102
102
  return { data: json };
103
103
  }),
104
104
  downloadFile: (path) => __awaiter(this, void 0, void 0, function* () {
105
+ path = path.replace(/^\/+/, "");
105
106
  const response = yield fetch(`${apiUrl}/${path}`, {
106
107
  headers: requestHeaders,
107
108
  });