@webiny/app-file-manager 5.18.1 → 5.18.3
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/admin/plugins/installation.js +3 -1
- package/package.json +11 -11
|
@@ -13,6 +13,7 @@ import { Alert } from "@webiny/ui/Alert";
|
|
|
13
13
|
import { CircularProgress } from "@webiny/ui/Progress";
|
|
14
14
|
import { SimpleForm, SimpleFormContent } from "@webiny/app-admin/components/SimpleForm";
|
|
15
15
|
import styled from "@emotion/styled";
|
|
16
|
+
import { config as appConfig } from "@webiny/app/config";
|
|
16
17
|
var SimpleFormPlaceholder = /*#__PURE__*/styled("div", {
|
|
17
18
|
target: "eratgeh0",
|
|
18
19
|
label: "SimpleFormPlaceholder"
|
|
@@ -33,11 +34,12 @@ var FMInstaller = function FMInstaller(_ref) {
|
|
|
33
34
|
error = _useState2[0],
|
|
34
35
|
setError = _useState2[1];
|
|
35
36
|
|
|
37
|
+
var apiUrl = appConfig.getKey("API_URL", process.env.REACT_APP_API_URL);
|
|
36
38
|
useEffect(function () {
|
|
37
39
|
client.mutate({
|
|
38
40
|
mutation: INSTALL,
|
|
39
41
|
variables: {
|
|
40
|
-
srcPrefix:
|
|
42
|
+
srcPrefix: apiUrl + "/files"
|
|
41
43
|
}
|
|
42
44
|
}).then(function (_ref2) {
|
|
43
45
|
var data = _ref2.data;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-file-manager",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.3",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"@emotion/core": "10.1.1",
|
|
16
16
|
"@emotion/styled": "10.0.27",
|
|
17
17
|
"@types/react": "16.14.2",
|
|
18
|
-
"@webiny/app": "5.18.
|
|
19
|
-
"@webiny/app-admin": "5.18.
|
|
20
|
-
"@webiny/app-security": "5.18.
|
|
21
|
-
"@webiny/form": "5.18.
|
|
22
|
-
"@webiny/plugins": "5.18.
|
|
23
|
-
"@webiny/react-router": "5.18.
|
|
24
|
-
"@webiny/ui": "5.18.
|
|
18
|
+
"@webiny/app": "5.18.3",
|
|
19
|
+
"@webiny/app-admin": "5.18.3",
|
|
20
|
+
"@webiny/app-security": "5.18.3",
|
|
21
|
+
"@webiny/form": "5.18.3",
|
|
22
|
+
"@webiny/plugins": "5.18.3",
|
|
23
|
+
"@webiny/react-router": "5.18.3",
|
|
24
|
+
"@webiny/ui": "5.18.3",
|
|
25
25
|
"apollo-cache": "1.3.5",
|
|
26
26
|
"apollo-client": "2.6.10",
|
|
27
27
|
"apollo-link": "1.2.14",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@babel/preset-react": "^7.0.0",
|
|
41
41
|
"@babel/preset-typescript": "^7.8.3",
|
|
42
42
|
"@svgr/webpack": "^4.3.2",
|
|
43
|
-
"@webiny/cli": "^5.18.
|
|
44
|
-
"@webiny/project-utils": "^5.18.
|
|
43
|
+
"@webiny/cli": "^5.18.3",
|
|
44
|
+
"@webiny/project-utils": "^5.18.3",
|
|
45
45
|
"babel-plugin-named-asset-import": "^1.0.0-next.3e165448",
|
|
46
46
|
"rimraf": "^3.0.2",
|
|
47
47
|
"typescript": "^4.1.3"
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"build": "yarn webiny run build",
|
|
55
55
|
"watch": "yarn webiny run watch"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "3ccdb07d10c57086a63eb42ba7484e17bc388297"
|
|
58
58
|
}
|