diff --git a/umap/static/umap/js/modules/importers/geodatamine.js b/umap/static/umap/js/modules/importers/geodatamine.js index 2f059389..ea7efac4 100644 --- a/umap/static/umap/js/modules/importers/geodatamine.js +++ b/umap/static/umap/js/modules/importers/geodatamine.js @@ -32,9 +32,9 @@ class Autocomplete extends SingleMixin(BaseAjax) { } export class Importer { - constructor() { + constructor(options) { this.name = 'GeoDataMine' - this.baseUrl = 'https://geodatamine.fr' + this.baseUrl = options?.url || 'https://geodatamine.fr' } async open(importer) {