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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions