preserve original request URL (work in progress)

pull/28/head
Hartmut Holzgraefe 2018-12-26 22:17:12 +00:00
rodzic becdfbc955
commit 37f563d121
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -507,6 +507,9 @@ class JobRenderer(threading.Thread):
try:
renderer = ocitysmap.OCitySMap(OCITYSMAP_CFG_PATH)
config = ocitysmap.RenderingConfiguration()
# TODO have the create form provide this
config.origin_url = 'https://print.get-map.org' + self.job.get_absolute_url()
config.title = self.job.maptitle
config.osmid = self.job.administrative_osmid