# HG changeset patch # User Teemu Piippo # Date 1502451124 -10800 # Node ID 2cf22291a4f43cfe844f2a7d485fd21144f8853e # Parent 5b288b0ac27136d1def912e143e525f0ba53b596 Asdf v2 diff -r 5b288b0ac271 -r 2cf22291a4f4 service.py --- a/service.py Fri Aug 11 14:29:24 2017 +0300 +++ b/service.py Fri Aug 11 14:32:04 2017 +0300 @@ -230,15 +230,15 @@ @app.route('/pysäkki/') def redirect_pysäkki(reference): - return redirect('../stop/' + str(reference)) + return redirect('stop/' + str(reference)) @app.route('/pysäkkiryhmä/') def redirect_pysäkkiryhmä(reference): - return redirect('../stop_cluster/' + str(reference)) + return redirect('stop_cluster/' + str(reference)) @app.route('/ajovuoro/') def redirect_ajovuoro(reference): - return redirect('../trip/' + str(reference)) + return redirect('trip/' + str(reference)) @app.route('/static/') def static_file(path):