- πΊπΈUnited States luke adams
This bit of code, or something similar, should be a candidate for this module:
https://www.drupal.org/project/advagg/issues/3196959#comment-15691865 π Disable "Convert absolute paths to be protocol relative paths." on AMP pages to avoid validation error Needs review
By overriding the the advagg JsOptimize Asset, if advagg is present, a conditional can be added to check for ampproject URLs and return the path before the protocol is stripped off.