diff options
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,9 +1,10 @@ from bottle import Bottle, run +from bottle import jinja2_template as template app = Bottle() [email protected]('/hello') [email protected]("/") def hello(): - return "Hello World!" + return template("index") run(app, host='localhost', port=8080) |