kopia lustrzana https://github.com/hholzgra/maposmatic/
preserve original request URL (work in progress)
rodzic
becdfbc955
commit
37f563d121
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue