Fix Drupal Multisite

- Remove extraneous DOM detections
- Fix srcScript regex
- Update Acquia Site Factory (implies Drupal Multisite)
main
Kyle Taylor 3 years ago
parent dc10a03240
commit ea5cdfac4c

@ -482,7 +482,8 @@
], ],
"icon": "acquia-site-factory.png", "icon": "acquia-site-factory.png",
"implies": [ "implies": [
"Acquia Cloud Platform" "Acquia Cloud Platform",
"Drupal Multisite"
], ],
"saas": true, "saas": true,
"scriptSrc": [ "scriptSrc": [

@ -1190,43 +1190,11 @@
88 88
], ],
"description": "Drupal Multisite enables separate, independent sites to be served from a single codebase.", "description": "Drupal Multisite enables separate, independent sites to be served from a single codebase.",
"dom": {
"img[data-src*='sites/all/']": {
"attributes": {
"data-src": "sites\\/all\\/.*\\/files'"
}
},
"img[data-src*='sites/default/']": {
"attributes": {
"data-src": "sites\\/default\\/.*\\/files'"
}
},
"img[src*='sites/all/']": {
"attributes": {
"src": "sites\\/all\\/.*\\/files'"
}
},
"img[src*='sites/default/']": {
"attributes": {
"src": "sites\\/default\\/.*\\/files'"
}
},
"link[href*='sites/all/']": {
"attributes": {
"href": "sites\\/all\\/.*\\/files'"
}
},
"link[href*='sites/default/']": {
"attributes": {
"href": "sites\\/default\\/.*\\/files'"
}
}
},
"icon": "Drupal.svg", "icon": "Drupal.svg",
"implies": "Drupal", "implies": "Drupal",
"oss": true, "oss": true,
"scriptSrc": [ "scriptSrc": [
"sites\\/(?!default|all).*\\/files" "sites\\/(?!.*(default|all))\\/files"
], ],
"website": "https://www.drupal.org/docs/multisite-drupal" "website": "https://www.drupal.org/docs/multisite-drupal"
}, },