diff --git a/src/Controller/ElFinderController.php b/src/Controller/ElFinderController.php index edf67b6..f6f42c4 100644 --- a/src/Controller/ElFinderController.php +++ b/src/Controller/ElFinderController.php @@ -226,7 +226,7 @@ public function mainJS() { $version = new EmptyVersionStrategy(); $package = new Package($version); - $mainUrl = $package->getUrl('bundles/fmelfinder/js'); + $mainUrl = $package->getUrl('/bundles/fmelfinder/js'); return new Response( $this->twig->render('@FMElfinder/Elfinder/helper/main.js.twig',['mainUrl' => $mainUrl]), 200,