# HG changeset patch # User Teemu Piippo # Date 1502450964 -10800 # Node ID 5b288b0ac27136d1def912e143e525f0ba53b596 # Parent 428cfdf64ccc5a2701683b75d8df2da7a57f44c0 Asdf diff -r 428cfdf64ccc -r 5b288b0ac271 service.py --- a/service.py Fri Aug 11 14:28:13 2017 +0300 +++ b/service.py Fri Aug 11 14:29:24 2017 +0300 @@ -226,19 +226,19 @@ @app.route('/') def index(): - return redirect('/stop_cluster/kauppatori') + return redirect('stop_cluster/kauppatori') @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):