@wemap/routers 12.8.6 → 12.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3263,7 +3263,10 @@ class GeoveloRemoteRouter extends RemoteRouter {
3263
3263
  }
3264
3264
  const res = await fetch(url, {
3265
3265
  method: "POST",
3266
- headers: { apiKey: apiKey$1 },
3266
+ headers: {
3267
+ apiKey: apiKey$1,
3268
+ "Content-Type": "application/json"
3269
+ },
3267
3270
  body: JSON.stringify(bodyParams)
3268
3271
  }).catch(() => {
3269
3272
  throw RemoteRoutingError.unreachableServer(this.rname, url.toString());