forked from orbit-oss/flask
Updated the examples to be cli based
This commit is contained in:
parent
3be7d918ce
commit
9ab5987100
6 changed files with 26 additions and 33 deletions
|
|
@ -4,8 +4,4 @@ from simple_page.simple_page import simple_page
|
|||
app = Flask(__name__)
|
||||
app.register_blueprint(simple_page)
|
||||
# Blueprint can be registered many times
|
||||
app.register_blueprint(simple_page, url_prefix='/pages')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
app.register_blueprint(simple_page, url_prefix='/pages')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue