为 miniprogram-ci 和 Jimp 依赖增加兼容 patch 与 smoke test;修复平台模板管理员路由漏配;收紧模板契约校验;为 admin/customer 增加 token 撤销和集中会话存储;同步品牌切换角色、doctor source hash、多屏宽截图证据和 CI 构建门禁。
14 lines
629 B
Diff
14 lines
629 B
Diff
diff --git a/dist/utils/image-bitmap.js b/dist/utils/image-bitmap.js
|
|
index e7c3dc99aa7ddb8ce89be7e527b164cbd933d22f..256caab070fd97110fc2646adbf0d940a29216e2 100644
|
|
--- a/dist/utils/image-bitmap.js
|
|
+++ b/dist/utils/image-bitmap.js
|
|
@@ -34,7 +34,7 @@ function getMIMEFromBuffer(buffer, path) {
|
|
switch (_context.prev = _context.next) {
|
|
case 0:
|
|
_context.next = 2;
|
|
- return _regenerator["default"].awrap(_fileType["default"].fromBuffer(buffer));
|
|
+ return _regenerator["default"].awrap(_fileType.fileTypeFromBuffer(buffer));
|
|
|
|
case 2:
|
|
fileTypeFromBuffer = _context.sent;
|