diff --git a/src/Configurations/PageRulesActions.php b/src/Configurations/PageRulesActions.php index 27790bd3..db7c6ea7 100755 --- a/src/Configurations/PageRulesActions.php +++ b/src/Configurations/PageRulesActions.php @@ -170,10 +170,12 @@ public function setIPGeoLocationHeader(bool $active) public function setMinification(bool $html, bool $css, bool $javascript) { - $this->addConfigurationOption('minification', [ - 'html' => $this->getBoolAsOnOrOff($html), - 'css' => $this->getBoolAsOnOrOff($css), - 'js' => $this->getBoolAsOnOrOff($javascript), + $this->addConfigurationOption('minify', [ + 'value' => [ + 'html' => $this->getBoolAsOnOrOff($html), + 'css' => $this->getBoolAsOnOrOff($css), + 'js' => $this->getBoolAsOnOrOff($javascript), + ], ]); }