π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore(photos):remove-osm-comments-and-add-release-note
Aswin Asok6d289a89c58b
diff --git a/desktop/changes/openstreetmap-tiles.md b/desktop/changes/openstreetmap-tiles.mdnew file mode 100644index 0000000000..52317f9f17--- /dev/null+++ b/desktop/changes/openstreetmap-tiles.md@@ -0,0 +1 @@+- Fixed OpenStreetMap tiles failing to load when viewing photo locations in some self-hosted setups. Thanks to @Himanshucodess for the fix and @daltux for reporting it.diff --git a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsxindex 332df4a48e..70ab014357 100644--- a/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx+++ b/web/apps/photos/src/components/Collections/CollectionMapDialog.tsx@@ -1500,7 +1500,6 @@ const MapCanvas = React.memo(function MapCanvas({url="https://tile.openstreetmap.org/{z}/{x}/{y}.png"maxZoom={MAX_MAP_ZOOM}updateWhenZooming- // OSM blocks tile requests without a Referer.referrerPolicy="strict-origin-when-cross-origin"/><MapControls useMap={useMap} />diff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsxindex a8b8fe4cc2..5de787fdc5 100644--- a/web/packages/gallery/components/FileInfo.tsx+++ b/web/packages/gallery/components/FileInfo.tsx@@ -987,7 +987,6 @@ const MapBox: React.FC<MapBoxProps> = ({ location, mapEnabled }) => {leaflet.tileLayer(urlTemplate, {attribution,- // OSM blocks tile requests without a Referer.referrerPolicy: "strict-origin-when-cross-origin",}).addTo(map);diff --git a/web/packages/new/photos/components/EditLocationDialog.tsx b/web/packages/new/photos/components/EditLocationDialog.tsxindex 21442b10be..eae0799251 100644--- a/web/packages/new/photos/components/EditLocationDialog.tsx+++ b/web/packages/new/photos/components/EditLocationDialog.tsx@@ -438,7 +438,6 @@ const EditableMap: React.FC<EditableMapProps> = ({leaflet.tileLayer(urlTemplate, {attribution,- // OSM blocks tile requests without a Referer.referrerPolicy: "strict-origin-when-cross-origin",}).addTo(map);