hexo/node_modules/ali-oss/lib/common/utils/isDingTalk.ts

7 lines
173 B
TypeScript

export function isDingTalk() {
if (process.browser && window.navigator.userAgent.toLowerCase().includes('aliapp(dingtalk')) {
return true;
}
return false;
}