Skip to content

Commit

Permalink
修改正则识别明文还是加密
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhnx committed May 29, 2024
1 parent f61996e commit b708ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/utils/drpy/drpy3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2967,7 +2967,7 @@ const isVideoParse = (isVideoObj) => {
* @param js_code
*/
function getOriginalJs(js_code){
let current_match = /var rule|rule/;
let current_match = /var rule|[\u4E00-\u9FA5]+|function|let |var |const |\(|\)|"|'/;
if(current_match.test(js_code)){
return js_code
}
Expand Down

0 comments on commit b708ba6

Please sign in to comment.