pug-site-core 3.0.16 → 3.0.17

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.
Files changed (2) hide show
  1. package/lib/utils.js +1 -1
  2. package/package.json +2 -2
package/lib/utils.js CHANGED
@@ -690,7 +690,7 @@ export async function getFilePathByFunctionName(functionName) {
690
690
  */
691
691
  export async function fetchABTestInfo(siteAbbr) {
692
692
  try {
693
- const res = await axios.get("https://new.sp.com/open-api/abtest-info", {
693
+ const res = await axios.get("http://new.sp.com/open-api/abtest-info", {
694
694
  params: { site: siteAbbr },
695
695
  });
696
696
  return (res && res.data && res.data.result) ? res.data.result : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pug-site-core",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -52,7 +52,7 @@
52
52
  "ws": "^8.18.0"
53
53
  },
54
54
  "license": "ISC",
55
- "description": "增加ABTest数据获取的接口",
55
+ "description": "修改ABTest数据获取的接口",
56
56
  "files": [
57
57
  "lib/",
58
58
  "index.js"