init
This commit is contained in:
commit
ce1095bb24
27 changed files with 621 additions and 0 deletions
10
app/init.py
Normal file
10
app/init.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from flask import Flask
|
||||
|
||||
def create_app():
|
||||
app = Flask(__name__)
|
||||
app.secret_key = "rennstopuhr2025"
|
||||
|
||||
from app.routes import main as main_blueprint
|
||||
app.register_blueprint(main_blueprint)
|
||||
|
||||
return app
|
||||
Reference in a new issue