We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26358e5 commit 5df3602Copy full SHA for 5df3602
app.py
@@ -1,7 +1,7 @@
1
-from bottle import route, run
2
-
3
-@route('/hello')
+from bottle import Bottle, run
+app=Bottle()
+@app.route('/hello')
4
def hello():
5
return "<h1>Hello World</h1>"
6
7
-run(host='localhost', port=5555, debug=True)
+run(app, host='localhost', port=5556, debug=True)
0 commit comments