We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc72a02 + b6b8695 commit edac728Copy full SHA for edac728
src/Plugin/ProxifyPlugin.php
@@ -146,8 +146,8 @@ public function onCompleted(ProxyEvent $event){
146
147
$str = $response->getContent();
148
149
- // DO NOT do any proxification on .js files
150
- if($content_type == 'text/javascript' || $content_type == 'application/javascript' || $content_type == 'application/x-javascript'){
+ // DO NOT do any proxification on .js files and text/plain content type
+ if($content_type == 'text/javascript' || $content_type == 'application/javascript' || $content_type == 'application/x-javascript' || $content_type == 'text/plain'){
151
return;
152
}
153
@@ -182,4 +182,4 @@ public function onCompleted(ProxyEvent $event){
182
183
184
185
-?>
+?>
0 commit comments