Skip to content

Commit 05972d5

Browse files
committed
fix for issues/2
1 parent 9510ca6 commit 05972d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/gtw.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,8 @@ def index():
426426
fasttrack = extract_coordinates_with_regex(url)
427427
if fasttrack:
428428
logger.debug("index: fastrack succsess")
429-
return waze_link_from_coords(fasttrack)
429+
waze_lnk = waze_link_from_coords(fasttrack)
430+
return redirect(waze_lnk)
430431

431432
logger.debug("index: trying default flow")
432433
wlink = get_wise_link(url, args.gcp_maps_api_key)

0 commit comments

Comments
 (0)