javascript - Leaflet : display problems during deployment
one text
Solution:
Add a . in front of you url path. /api/map/ should be ./api/map/
With a starting / your path not starting from the current folder, it starts from the main-domain url. For example: www.domain.com/api/map/ instead of www.domain.com/infomaniak/myproject/api/map/