Skip to content

Commit

Permalink
release 3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
elias75015 committed Aug 2, 2023
2 parents faefb3b + 2178019 commit cde059f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions DRAFT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Bibliothèque d'accès aux services Géoportail, version 3.3.2
# Bibliothèque d'accès aux services Géoportail, version 3.3.3

**20/07/2023 : 3.3.2**
**02/08/2023 : 3.3.3**

> release of geoportal access library
## Summary

Fix Config Interface pour WMS vecteur
Correction mineure sur l'utilisation d'un fichier de configuration local

## Changelog

Expand All @@ -18,7 +18,7 @@ Fix Config Interface pour WMS vecteur

* [Fixed]

- chaine de caractères vide pour style des couches WMS Vecteur récupérée depuis la configuration (424b40d10c9bc7a6c5fe318d9ec1f3483615b1d1)
- Correction parsing des ressources liées à un fichier de config local (#85)

* [Deprecated]

Expand Down
Binary file modified geoportal-access-lib-3.3.2.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "geoportal-access-lib",
"version": "3.3.2",
"date": "20/07/2023",
"version": "3.3.3",
"date": "02/08/2023",
"description": "French Geoportal resources access library",
"module": "src/Gp.js",
"main": "dist/GpServices-src.js",
Expand Down
6 changes: 5 additions & 1 deletion src/Services/Config/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ function Config (options) {
this.options.sync = options.sync || false;

// gestion d'un tableau d'url des fichiers de configuration
this.options.listConfigUrls = (options.customConfigFile) ? [options.customConfigFile] : DefaultUrlService.Config.url(options.apiKey.split(","));
this.options.listConfigUrls = (options.customConfigFile)
? [options.customConfigFile]
: !Array.isArray(options.apiKey)
? DefaultUrlService.Config.url(options.apiKey.split(","))
: DefaultUrlService.Config.url(options.apiKey);
}

/**
Expand Down

0 comments on commit cde059f

Please sign in to comment.