service.py

changeset 50
2cf22291a4f4
parent 49
5b288b0ac271
child 53
1c934953c3e6
--- 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/<reference>')
 def redirect_pysäkki(reference):
-	return redirect('../stop/' + str(reference))
+	return redirect('stop/' + str(reference))
 
 @app.route('/pysäkkiryhmä/<reference>')
 def redirect_pysäkkiryhmä(reference):
-	return redirect('../stop_cluster/' + str(reference))
+	return redirect('stop_cluster/' + str(reference))
 
 @app.route('/ajovuoro/<reference>')
 def redirect_ajovuoro(reference):
-	return redirect('../trip/' + str(reference))
+	return redirect('trip/' + str(reference))
 
 @app.route('/static/<path:path>')
 def static_file(path):

mercurial