Skip to content

Could not add header by transformRequest to PmTiles #13698

Description

@enersis-pst

mapbox-gl-js version

v3.25.0

Browser and version

Chrome 149.0.7827.103

Expected behavior

by using transformRequest i could add header for PmTiles.

Actual behavior

Header did not changed.

Link to the demonstration

https://jsbin.com/biqowafoce/edit?html,output

Steps to trigger the unexpected behavior

  • open example
  • open network monitor
  • have a look at headers
  • see that the { Authorization: "SECRET" }, is missing

Relevant log output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions