Skip to content

Commit

Permalink
absolute uri
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Jul 26, 2024
1 parent 9a38ede commit 3ead373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata_catalogue/maps/libs/maplibre.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def map_to_style(map: Map, request) -> MapStyle:
title=map.title,
subtitle=map.subtitle,
description=map.description,
logo=map.logo.url if map.logo else None,
logo=request.build_absolute_uri(map.logo.url) if map.logo else None,
legends=map.legend_config,
catalogue=catalogue,
config=MapConfig(**map.config) if map.config else MapConfig(),
Expand Down

0 comments on commit 3ead373

Please sign in to comment.