+ add Web App (WIP)
This commit is contained in:
13
Web/__init__.py
Normal file
13
Web/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from flask import Flask
|
||||
from Web.config import Config
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
def create_app(config_class=Config):
|
||||
app.config.from_object(config_class)
|
||||
|
||||
from Web.main.routes import main
|
||||
|
||||
app.register_blueprint(main)
|
||||
|
||||
return app
|
||||
Reference in New Issue
Block a user