12345678910111213141516171819202122232425262728293031323334 |
- "use strict";
-
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- var ERROR_DEFAULT = exports.ERROR_DEFAULT = "出错了!";
-
- var LIMIT = exports.LIMIT = 10; // 默认 limit
-
- var OSS_ENDPOINT = exports.OSS_ENDPOINT = "oss-cn-beijing.aliyuncs.com";
- var OSS_BUCKET = exports.OSS_BUCKET = "links-comment";
- var DRIVER_LICENSE_PATH = exports.DRIVER_LICENSE_PATH = "/comment";
-
- var OSS_LINK = exports.OSS_LINK = "//links-comment.oss-cn-beijing.aliyuncs.com";
-
- var MAX_UPLOAD_NUMBER = exports.MAX_UPLOAD_NUMBER = 4;
-
- var URL_REGEXP = exports.URL_REGEXP = /((http(s)?:)?\/\/)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/g;
-
- var REGEXP = exports.REGEXP = /\[[^[\]]+?\]/g;
-
- var AVATAR = exports.AVATAR = "";
-
- var IMAGE_SPLIT = exports.IMAGE_SPLIT = "IMAGE_SPLIT";
-
- var IMAGE_PROCESS = exports.IMAGE_PROCESS = "?x-oss-process=image/resize,h_350";
- var IMAGE_PROCESS_SMALL = exports.IMAGE_PROCESS_SMALL = "?x-oss-process=image/resize,h_100";
- var IMAGE_PROCESS_LARGE = exports.IMAGE_PROCESS_LARGE = "?x-oss-process=image/resize,h_500";
-
- var COMMENT_TYPE = exports.COMMENT_TYPE = {
- COMMENT: 'comment',
- REPLY: 'reply'
- };
- //# sourceMappingURL=constant.js.map
|