[add]: eco routes, services and enums
This commit is contained in:
@@ -5,6 +5,7 @@ from flask_swagger_ui import get_swaggerui_blueprint
|
||||
from flask_cors import CORS
|
||||
from app.config import Config
|
||||
from app.api.routes import api
|
||||
from app.eco.routes import eco
|
||||
from app.errors import register_error_handlers
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from flask_migrate import Migrate
|
||||
@@ -39,6 +40,7 @@ def create_app():
|
||||
|
||||
# Register blueprints
|
||||
app.register_blueprint(api)
|
||||
app.register_blueprint(eco)
|
||||
|
||||
swagger_ui_blueprint = get_swaggerui_blueprint(SWAGGER_URL, API_URL)
|
||||
app.register_blueprint(swagger_ui_blueprint, url_prefix=SWAGGER_URL)
|
||||
|
||||
Reference in New Issue
Block a user