Skip to content

Commit

Permalink
Remove __webpack_public_path__ workaround
Browse files Browse the repository at this point in the history
Using document.currentScript.src is problematic to load ngeo in a
standalone way, with a type="module"
  • Loading branch information
ger-benjamin committed Oct 11, 2024
1 parent cbd40b6 commit 0e11b30
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/controllers/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ import config from 'gmfapi/store/config';
import 'ngeo/auth/index';
import 'ngeo/lidar/index';

// eslint-disable-next-line no-undef
__webpack_public_path__ = new URL('./', document.currentScript.src).toString();

/**
* @param {string} scriptUrl The script URL
*/
Expand Down

0 comments on commit 0e11b30

Please sign in to comment.