Describe the bug
The map used on at least the info page complains about a missing Referer header. Documentation from OSM, also for leaflet and django-leaflet specifically: https://wiki.openstreetmap.org/wiki/Referer
Looking at devtools, the leaflet version in use seems to be woefully out of date (0.7.7 from 2015):
Setting a referrerPolicy on TileLayers needs at least leaflet 1.8.0.
This seems to be a vendored copy? https://github.com/bornhack/bornhack-website/blob/main/src/static_src/vendor/leaflet/leaflet.js
The project dependencies also list django-leaflet 0.33.0, which would provide leaflet version 1.9.3, which is not used in this (and many other parts?) part of the website.
A quick workaround could be to just add an appropriate meta tag to all view templates that use leaflet < 1.8.0, according to the OSM documentation.
To Reproduce
Steps to reproduce the behavior:
- Go to https://bornhack.dk/bornhack-2026/info/#the-venue
Screenshots

Describe the bug
The map used on at least the info page complains about a missing Referer header. Documentation from OSM, also for leaflet and django-leaflet specifically: https://wiki.openstreetmap.org/wiki/Referer
Looking at devtools, the leaflet version in use seems to be woefully out of date (0.7.7 from 2015):
Setting a
referrerPolicyon TileLayers needs at least leaflet 1.8.0.This seems to be a vendored copy? https://github.com/bornhack/bornhack-website/blob/main/src/static_src/vendor/leaflet/leaflet.js
The project dependencies also list django-leaflet 0.33.0, which would provide leaflet version 1.9.3, which is not used in this (and many other parts?) part of the website.
A quick workaround could be to just add an appropriate meta tag to all view templates that use leaflet < 1.8.0, according to the OSM documentation.
To Reproduce
Steps to reproduce the behavior:
Screenshots