Merge pull request #10567 from nextcloud/icons-cacher-fix
Icons cacher css url fix
This commit is contained in:
commit
5685ed4c7d
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class IconsCacher {
|
|||
return;
|
||||
}
|
||||
}
|
||||
$linkToCSS = substr($this->urlGenerator->linkToRoute('core.Css.getCss', ['appName' => 'icons', 'fileName' => $this->fileName]), strlen(\OC::$WEBROOT));
|
||||
$linkToCSS = $this->urlGenerator->linkToRoute('core.Css.getCss', ['appName' => 'icons', 'fileName' => $this->fileName]);
|
||||
\OC_Util::addHeader('link', ['rel' => 'stylesheet', 'href' => $linkToCSS], null, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue