fix(Blueprints) way of api
Now /api is creating reverse proxy
This commit is contained in:
1 parent
5596c20056
commit
b20eb2ed0c
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ from utils.mail import send_lead_to_email
|
||||
from flask import Blueprint
|
||||
|
||||
# Создаем blueprint для API
|
||||
api_email = Blueprint('api_email', __name__, url_prefix='/api/email')
|
||||
api_email = Blueprint('api_email', __name__, url_prefix='/email')
|
||||
|
||||
@api_email.route('/', methods=['POST'])
|
||||
def post_email():
|
||||
|
||||
Reference in new issue
Block a user