uiadertn
This commit is contained in:
parent
7e94591315
commit
20707946d3
2
app.py
2
app.py
|
@ -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')
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Reference in New Issue