hexo/node_modules/ali-oss/lib/common/utils/checkUserAgent.js

8 lines
254 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkUserAgent = void 0;
exports.checkUserAgent = ua => {
const userAgent = ua.replace(/\u03b1/, 'alpha').replace(/\u03b2/, 'beta');
return userAgent;
};