1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

adjustments to redirect

This commit is contained in:
George Hunt 2019-06-05 19:43:21 -07:00
parent b3771fba39
commit 3ea3bccdd8

View file

@ -76,7 +76,7 @@ def main():
menus.update_menu_json(menu_ref)
# redirect from box/maps to an installed map rather than test page
with open('{{ vector_map_path }}/index.html','w') as fp:
outstr = """<head> \n<meta http-equiv="refresh" content="0; URL=%s " />\n</head>"""%fname
outstr = """<head> \n<meta http-equiv="refresh" content="0; URL=/osm-vector-maps/en-osm-omt_%s " />\n</head>"""%fname
fp.write(outstr)