feat(assets): Added new blueprint for sended images on api
This commit is contained in:
1 parent
0bf45f3386
commit
be3df1780b
2 files changed
+18
No files matched your search
@@ -7,6 +7,7 @@ from utils.loadDotENV import initializeENV
|
||||
from api.categories import api_category
|
||||
from api.product import api_product
|
||||
from api.email import api_email
|
||||
from api.assets import assets_bp
|
||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||
|
||||
# Инициализация
|
||||
@@ -22,6 +23,7 @@ CORS(app)
|
||||
app.register_blueprint(api_category)
|
||||
app.register_blueprint(api_product)
|
||||
app.register_blueprint(api_email)
|
||||
app.register_blueprint(assets_bp)
|
||||
|
||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user