pull/303/head
王良 7 months ago
parent 0b03e5f975
commit e101e23876

@ -2,6 +2,9 @@ const lodash = require('lodash')
const log = require('./util.log')
function isMatched (url, regexp) {
if (regexp === '*') {
regexp = '.*'
}
return url.match(regexp)
}

Loading…
Cancel
Save