diff --git a/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php b/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php index f191a00db..d42c5e57b 100644 --- a/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php +++ b/EMS/client-helper-bundle/src/Helper/Asset/AssetHelperRuntime.php @@ -80,7 +80,7 @@ public function assets(string $hash, string $saveDir = 'bundles', bool $addEnvir public function asset(string $path, array $assetConfig = []): string { if (empty($this->localFolder)) { - $filename = \sprintf('%s:/%s', $this->getVersionHash(), $path); + $filename = \sprintf('%s:%s', $this->getVersionHash(), $path); } else { $filename = $this->publicDir.DIRECTORY_SEPARATOR.$this->localFolder.DIRECTORY_SEPARATOR.$path; }