coolcare-lite-scada-component 4.0.2 → 4.0.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/es/services/request.js +1 -1
- package/package.json +2 -2
package/es/services/request.js
CHANGED
|
@@ -84,7 +84,7 @@ requestClient.use(/*#__PURE__*/function () {
|
|
|
84
84
|
case 0:
|
|
85
85
|
req = ctx.req;
|
|
86
86
|
url = req.url;
|
|
87
|
-
ctx.req.url = "
|
|
87
|
+
ctx.req.url = "https://192.168.2.12.nip.io".concat(url);
|
|
88
88
|
_context.next = 5;
|
|
89
89
|
return next();
|
|
90
90
|
case 5:
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coolcare-lite-scada-component",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": " umi dev",
|
|
6
6
|
"build:prod": "UMI_ENV=prod umi build",
|
|
7
|
-
"build:yiwei": "UMI_ENV=prod REACT_APP_PLATFORM=yiwei umi build",
|
|
7
|
+
"build:yiwei": "NODE_OPTIONS=--openssl-legacy-provider UMI_ENV=prod REACT_APP_PLATFORM=yiwei umi build",
|
|
8
8
|
"build:staging": "UMI_ENV=staging umi build",
|
|
9
9
|
"build:component": "father build",
|
|
10
10
|
"postinstall": "umi generate tmp",
|