david/openvpnstatus
david
/
openvpnstatus
Archived
1
0
Fork 0
This commit is contained in:
david 2013-08-24 21:17:52 +02:00
parent 7e94591315
commit 20707946d3
2 changed files with 2 additions and 2 deletions

2
app.py
View File

@ -10,7 +10,7 @@ def status():
o = openvpnstatus.openvpnstatus() o = openvpnstatus.openvpnstatus()
return render_template('status.html', connections = o.connections, routes = o.routes) return render_template('status.html', connections = o.connections, routes = o.routes)
@app.route('/redirect') @app.route('/socialnerds')
def redir(): def redir():
return redirect('https://www.socialnerds.org') return redirect('https://www.socialnerds.org')

View File

@ -5,6 +5,6 @@
Hello, my dear {{ test2 }}! Hello, my dear {{ test2 }}!
</p> </p>
<hr> <hr>
<a href="form">form</a> | <a href="status">status</a> <a href="form">form</a> | <a href="status">status</a> | <a href="socialnerds">socialnerds</a>
{% endif %} {% endif %}
{% endblock %} {% endblock %}