--- a/templates/trip.html Wed Jun 28 13:13:14 2017 +0300 +++ b/templates/trip.html Wed Jun 28 15:53:05 2017 +0300 @@ -1,7 +1,7 @@ <html> <head> - <link rel="icon" type="image/png" href="/static/favicon.png" /> - <link rel="stylesheet" type="text/css" href="/static/style.css" /> + <link rel="icon" type="image/png" href="static/favicon.png" /> + <link rel="stylesheet" type="text/css" href="static/style.css" /> <meta charset='UTF-8' /> <meta http-equiv='refresh' content='60'> <style> @@ -67,8 +67,8 @@ {% for halt in entry['stops'] %} <tr> <td>{{halt['time']}}</td> - <td><a href="/pysäkki/{{halt['id']}}"><img src='/static/pysäkki.png' height='24' /> {{halt['code']}}</a></td> - <td><a href="/pysäkki/{{halt['id']}}">{{halt['name']}}</a></td> + <td><a href="pysäkki/{{halt['id']}}"><img src='static/pysäkki.png' height='24' /> {{halt['code']}}</a></td> + <td><a href="pysäkki/{{halt['id']}}">{{halt['name']}}</a></td> </tr> {% endfor %} </table>