mirror of
https://github.com/Mibew/mibew.git
synced 2025-06-04 16:16:15 +03:00
Fix for embed chat window on ssl sites
As mentioned in [#120](https://github.com/Mibew/mibew/issues/120)
This commit is contained in:
parent
e4a104f52e
commit
3b651f2280
@ -52,7 +52,7 @@ class StyleController extends AbstractController
|
|||||||
$style->getFilesPath() . '/' . $configs['chat']['iframe']['css'],
|
$style->getFilesPath() . '/' . $configs['chat']['iframe']['css'],
|
||||||
UrlGeneratorInterface::ABSOLUTE_URL
|
UrlGeneratorInterface::ABSOLUTE_URL
|
||||||
);
|
);
|
||||||
$response->setData($css);
|
$response->setData(str_replace("http","https",$css))
|
||||||
$response->setCallback('Mibew.Utils.loadStyleSheet');
|
$response->setCallback('Mibew.Utils.loadStyleSheet');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user