securityos/node_modules/clean-css/lib/utils/is-https-resource.js

8 lines
157 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
var HTTPS_RESOURCE_PATTERN = /^https:\/\//;
function isHttpsResource(uri) {
return HTTPS_RESOURCE_PATTERN.test(uri);
}
module.exports = isHttpsResource;