@isardsat/editorial-server 6.4.2 → 6.4.4

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.
@@ -95,6 +95,8 @@ export function createDataRoutes(config, storage) {
95
95
  for (const [key, value] of Object.entries(itemValue)) {
96
96
  if (!schema[itemType].fields[key]?.isUploadedFile)
97
97
  continue;
98
+ if (value.startsWith("http"))
99
+ continue;
98
100
  collection[itemKey][key] = `${origin}/${value}`;
99
101
  }
100
102
  }
@@ -191,6 +193,8 @@ export function createDataRoutes(config, storage) {
191
193
  for (const [key, value] of Object.entries(item)) {
192
194
  if (!schema[itemType].fields[key]?.isUploadedFile)
193
195
  continue;
196
+ if (value.startsWith("http"))
197
+ continue;
194
198
  item[key] = `${origin}/${value}`;
195
199
  }
196
200
  return c.json(item);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isardsat/editorial-server",
3
- "version": "6.4.2",
3
+ "version": "6.4.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "hono": "^4.6.20",
15
15
  "yaml": "^2.7.0",
16
16
  "zod": "^3.24.1",
17
- "@isardsat/editorial-admin": "^6.4.2",
18
- "@isardsat/editorial-common": "^6.4.2"
17
+ "@isardsat/editorial-admin": "^6.4.4",
18
+ "@isardsat/editorial-common": "^6.4.4"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@tsconfig/node22": "^22.0.0",