Skip to content

Commit

Permalink
[OGT-123] Set asset URL as resource root to load generated Leaflet la…
Browse files Browse the repository at this point in the history
…yer control icon.
  • Loading branch information
innc committed Apr 14, 2022
1 parent e88e82c commit 39c3ab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ const mix = require('laravel-mix');
|
*/

/* required for Leaflet layer control icon */
mix.setResourceRoot(process.env.ASSET_URL ?? '');

mix.js('resources/js/app.js', 'public/js')
.vue()
.postCss('resources/css/app.css', 'public/css', [
Expand Down

0 comments on commit 39c3ab3

Please sign in to comment.