Skip to content

Fixing Mapbox Error #232

Description

@erezamsalem

Hello

in order to fix mapbox error please :

  1. in app.js- change- app.use(helmet()) -> to >- app.use(helmet({ contentSecurityPolicy: false }))

  2. in tour.pag - I update the version to - v2.9.1 :

script(src='https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.js')
link(href='https://api.mapbox.com/mapbox-gl-js/v2.9.1/mapbox-gl.css' rel='stylesheet')

and finally it works :-)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions