Skip to content

Commit

Permalink
Using asset() to ensure the URL is correct (if website not deployed (#…
Browse files Browse the repository at this point in the history
…394)

under /)
  • Loading branch information
Gregwar authored Feb 11, 2020
1 parent 7acb9e8 commit 6748b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/Elfinder/helper/main.js.twig
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@

// config of RequireJS (REQUIRED)
require.config({
baseUrl : '/bundles/fmelfinder/js',
baseUrl : "{{ asset('bundles/fmelfinder/js') }}",
paths : {
'jquery' : '//cdnjs.cloudflare.com/ajax/libs/jquery/'+(old? '1.12.4' : jqver)+'/jquery.min',
'jquery-ui': '//cdnjs.cloudflare.com/ajax/libs/jqueryui/'+uiver+'/jquery-ui.min',
Expand Down

0 comments on commit 6748b7f

Please sign in to comment.