Asdf

Fri, 11 Aug 2017 14:29:24 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 11 Aug 2017 14:29:24 +0300
changeset 49
5b288b0ac271
parent 48
428cfdf64ccc
child 50
2cf22291a4f4

Asdf

service.py file | annotate | diff | comparison | revisions
--- 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/<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