@alicloud/alfa-core 1.6.0-beta.7 → 1.6.0-beta.8

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.
@@ -100,7 +100,7 @@ function _responseInterceptor() {
100
100
  if (['cws.alyasset.com', 'cws.alcasset.com'].some(function (domain) {
101
101
  return url === null || url === void 0 ? void 0 : url.includes("://".concat(domain, "/"));
102
102
  })) {
103
- config.url = url === null || url === void 0 ? void 0 : url.replace(/:\/\/cws\.al.asset\.com\//, function () {
103
+ config.url = url === null || url === void 0 ? void 0 : url.replace(/:\/\/cws\.al[yc]asset\.com\//, function () {
104
104
  return '://cws2.alicdn.com/';
105
105
  });
106
106
  } else {
@@ -107,7 +107,7 @@ function _responseInterceptor() {
107
107
  if (['cws.alyasset.com', 'cws.alcasset.com'].some(function (domain) {
108
108
  return url === null || url === void 0 ? void 0 : url.includes("://".concat(domain, "/"));
109
109
  })) {
110
- config.url = url === null || url === void 0 ? void 0 : url.replace(/:\/\/cws\.al.asset\.com\//, function () {
110
+ config.url = url === null || url === void 0 ? void 0 : url.replace(/:\/\/cws\.al[yc]asset\.com\//, function () {
111
111
  return '://cws2.alicdn.com/';
112
112
  });
113
113
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/alfa-core",
3
- "version": "1.6.0-beta.7",
3
+ "version": "1.6.0-beta.8",
4
4
  "description": "MicroFront End SDK for alicloud",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",