@ditojs/server 2.49.0 → 2.49.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.
- package/package.json +4 -4
- package/src/storage/Storage.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/server",
|
|
3
|
-
"version": "2.49.
|
|
3
|
+
"version": "2.49.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Dito.js Server – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
|
|
6
6
|
"repository": "https://github.com/ditojs/dito/tree/master/packages/server",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"node >= 18"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ditojs/admin": "^2.49.
|
|
29
|
-
"@ditojs/build": "^2.49.
|
|
28
|
+
"@ditojs/admin": "^2.49.1",
|
|
29
|
+
"@ditojs/build": "^2.49.1",
|
|
30
30
|
"@ditojs/router": "^2.49.0",
|
|
31
31
|
"@ditojs/utils": "^2.49.0",
|
|
32
32
|
"@koa/cors": "^5.0.0",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"typescript": "^5.8.3"
|
|
91
91
|
},
|
|
92
92
|
"types": "types",
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "45e0fcf6cc3616b095ad32928cba034198b01ba0"
|
|
94
94
|
}
|
package/src/storage/Storage.js
CHANGED
|
@@ -104,7 +104,8 @@ export class Storage {
|
|
|
104
104
|
file.url = this._getFileUrl(file)
|
|
105
105
|
// TODO: Support `config.readDimensions`, but this can only be done once
|
|
106
106
|
// there are separate storage instances per model assets config!
|
|
107
|
-
|
|
107
|
+
this.convertAssetFile(file)
|
|
108
|
+
return file
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
async removeFile(file) {
|