Skip to content

Fixing Mapbox Error #232

Open
Open
@erezamsalem

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 :-)

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