Hi, Is there any way to get domain prefix for minified assets?
Following to https://docs.phalcon.io/en/latest/reference/assets.html#prefixes:
$this->assets
->collection('jsHeader')
->setPrefix('https://cdn.example.com/')
->setLocal(false)
->addJs('jquery.min.js');
will produce:
<script src="https://cdn.example.com/jquery.min.js" type="text/javascript"></script>
But if we want to get minified version of JS:
$this->assets->collection('jsFooter')
->setLocal(true)
->join(true)
->setPrefix('https://cdn.example.com/')
->setTargetUri('header.js')
->addFilter(new Phalcon\Assets\Filters\Jsmin())
->addJs('jquery.min.js');
we will get:
<script src="/https://cdn.example.com/header.js" type="text/javascript"></script>
(with / on beginning of url). So my question is: is there any way to remove slash from url?