kytos-ng / ui

Kytos Admin UI
MIT License
0 stars 3 forks source link

Upgrade UI´s mapbox-gl library #69

Open rmotitsuki opened 5 months ago

rmotitsuki commented 5 months ago

Today, the mapbox-gl.js library is included in the index.html file as a script, in version v0.41.0. It causes 2 problems:

Mapbox shloud be upgraded to the latest version possible (current version is v3.4.0) to fix vulnerabilities issues. To do that, a generic user must be created for amligh, to replace the token.

index.html - remove script package.json - add "mapbox-gl" dependency Map.vue - replace token