complete-node-bootcamp icon indicating copy to clipboard operation
complete-node-bootcamp copied to clipboard

Fixing Mapbox Error

Open erezamsalem opened this issue 1 year ago • 1 comments

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

erezamsalem avatar Sep 09 '24 04:09 erezamsalem