Skip to content

Commit

Permalink
Add fetchFunction binding appropriate version of fetch for ems client
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Mar 30, 2020
1 parent 070fcd8 commit 895aae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/legacy/ui/public/vis/map/service_settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ uiModules
tileApiUrl: mapConfig.emsTileApiUrl,
htmlSanitizer: $sanitize,
landingPageUrl: mapConfig.emsLandingPageUrl,
fetchFunction: fetch,
});
}

Expand Down
1 change: 1 addition & 0 deletions x-pack/legacy/plugins/maps/server/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function initRoutes(server, licenseUid) {
fileApiUrl: mapConfig.emsFileApiUrl,
tileApiUrl: mapConfig.emsTileApiUrl,
landingPageUrl: mapConfig.emsLandingPageUrl,
fetchFunction: fetch,
});
emsClient.addQueryParams({ license: licenseUid });
} else {
Expand Down

0 comments on commit 895aae5

Please sign in to comment.