diff --git a/.gitignore b/.gitignore index e9c31ff..9a14207 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__/ *.pyc logs node_modules/ + diff --git a/app.py b/app.py index 634ea47..03125c8 100644 --- a/app.py +++ b/app.py @@ -741,7 +741,7 @@ def api_reqimage(): access_code = request.args.get('access_code', None) vin = request.args.get('vin', None) - user_ip = get_ip(request) ## определение ip клиента + # user_ip = get_ip(request) ## определение ip клиента # базовые проверки входящих аргументов if len(vin) != 17 or vin is None: @@ -813,7 +813,7 @@ def api_reqimage(): for it in res: images.append({ 'num':nm, - 'url':'https://salimages.salvagedb/{}/{}'.format(req_id, it[0]) + 'url':'https://salvagedb.com/simages/{}/{}'.format(req_id, it[0]) }) nm = nm + 1 ret = {'status': 'Image_found', 'Images':images} diff --git a/requirements.txt b/requirements.txt index 4f657ca..21baa58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ flask oracledb cacheing -reportlab \ No newline at end of file +reportlab +aiogram \ No newline at end of file