mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
wip: allow to control geodatamine baseUrl from settings
This commit is contained in:
parent
d35e72dab9
commit
1cefd4c9a7
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue