draft: refactor project so it sits on top of a standalone app
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
var HTTPS_RESOURCE_PATTERN = /^https:\/\//;
|
||||
|
||||
function isHttpsResource(uri) {
|
||||
return HTTPS_RESOURCE_PATTERN.test(uri);
|
||||
}
|
||||
|
||||
module.exports = isHttpsResource;
|
||||
Reference in New Issue
Block a user