Parcourir la source

修改线上地址

narro il y a 6 ans
Parent
révision
73034c45c7
3 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 2
    2
      lib/constant.js
  2. 1
    1
      lib/constant.js.map
  3. 2
    2
      src/constant.js

+ 2
- 2
lib/constant.js Voir le fichier

@@ -3,8 +3,8 @@
3 3
 Object.defineProperty(exports, "__esModule", {
4 4
   value: true
5 5
 });
6
-var URL = exports.URL = "http://121.41.20.11:8082/v1";
7
-// export const URL = "http://api.links123.net/comment/v1";
6
+// export const URL = "http://121.41.20.11:8082/v1";
7
+var URL = exports.URL = "http://api.links123.net/comment/v1";
8 8
 
9 9
 var ERROR_DEFAULT = exports.ERROR_DEFAULT = "出错了!";
10 10
 

+ 1
- 1
lib/constant.js.map Voir le fichier

@@ -1 +1 @@
1
-{"version":3,"sources":["../src/constant.js"],"names":["URL","ERROR_DEFAULT","LIMIT","OSS_ENDPOINT","OSS_BUCKET","DRIVER_LICENSE_PATH","OSS_LINK","MAX_UPLOAD_NUMBER","REGEXP"],"mappings":";;;;;AAAO,IAAMA,oBAAM,6BAAZ;AACP;;AAEO,IAAMC,wCAAgB,MAAtB;;AAEA,IAAMC,wBAAQ,EAAd,C,CAAkB;;AAElB,IAAMC,sCAAe,6BAArB;AACA,IAAMC,kCAAa,eAAnB;AACA,IAAMC,oDAAsB,UAA5B;;AAEA,IAAMC,8BAAW,kDAAjB;;AAEA,IAAMC,gDAAoB,CAA1B;;AAEA,IAAMC,0BAAS,UAAf","file":"constant.js","sourcesContent":["export const URL = \"http://121.41.20.11:8082/v1\";\n// export const URL = \"http://api.links123.net/comment/v1\";\n\nexport const ERROR_DEFAULT = \"出错了!\";\n\nexport const LIMIT = 10; // 默认 limit\n\nexport const OSS_ENDPOINT = \"oss-cn-beijing.aliyuncs.com\";\nexport const OSS_BUCKET = \"links-comment\";\nexport const DRIVER_LICENSE_PATH = \"/comment\";\n\nexport const OSS_LINK = \"http://links-comment.oss-cn-beijing.aliyuncs.com\";\n\nexport const MAX_UPLOAD_NUMBER = 4;\n\nexport const REGEXP = /\\[.+?\\]/g;\n"]}
1
+{"version":3,"sources":["../src/constant.js"],"names":["URL","ERROR_DEFAULT","LIMIT","OSS_ENDPOINT","OSS_BUCKET","DRIVER_LICENSE_PATH","OSS_LINK","MAX_UPLOAD_NUMBER","REGEXP"],"mappings":";;;;;AAAA;AACO,IAAMA,oBAAM,oCAAZ;;AAEA,IAAMC,wCAAgB,MAAtB;;AAEA,IAAMC,wBAAQ,EAAd,C,CAAkB;;AAElB,IAAMC,sCAAe,6BAArB;AACA,IAAMC,kCAAa,eAAnB;AACA,IAAMC,oDAAsB,UAA5B;;AAEA,IAAMC,8BAAW,kDAAjB;;AAEA,IAAMC,gDAAoB,CAA1B;;AAEA,IAAMC,0BAAS,UAAf","file":"constant.js","sourcesContent":["// export const URL = \"http://121.41.20.11:8082/v1\";\nexport const URL = \"http://api.links123.net/comment/v1\";\n\nexport const ERROR_DEFAULT = \"出错了!\";\n\nexport const LIMIT = 10; // 默认 limit\n\nexport const OSS_ENDPOINT = \"oss-cn-beijing.aliyuncs.com\";\nexport const OSS_BUCKET = \"links-comment\";\nexport const DRIVER_LICENSE_PATH = \"/comment\";\n\nexport const OSS_LINK = \"http://links-comment.oss-cn-beijing.aliyuncs.com\";\n\nexport const MAX_UPLOAD_NUMBER = 4;\n\nexport const REGEXP = /\\[.+?\\]/g;\n"]}

+ 2
- 2
src/constant.js Voir le fichier

@@ -1,5 +1,5 @@
1
-export const URL = "http://121.41.20.11:8082/v1";
2
-// export const URL = "http://api.links123.net/comment/v1";
1
+// export const URL = "http://121.41.20.11:8082/v1";
2
+export const URL = "http://api.links123.net/comment/v1";
3 3
 
4 4
 export const ERROR_DEFAULT = "出错了!";
5 5