From 9b6f5b9c5eefcf310ca49311c145274f7b467713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sat, 13 Jun 2026 11:45:39 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20debug?= =?UTF-8?q?=3DTrue,=20=D1=81=D0=BC=D1=8F=D0=B3=D1=87=D0=B8=D0=BB=20=D0=B2?= =?UTF-8?q?=D0=B5=D1=80=D1=81=D0=B8=D0=B8=20=D0=B2=20requirements,=20healt?= =?UTF-8?q?h=20=D0=B2=D0=BE=D0=B7=D0=B2=D1=80=D0=B0=D1=89=D0=B0=D0=B5?= =?UTF-8?q?=D1=82=20plain=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 8 ++++---- site/app.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 21fc8f6..1ec318e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -flask>=3.0 -gunicorn>=22.0 -python-docx>=1.1 -requests>=2.32 +flask +gunicorn +python-docx +requests diff --git a/site/app.py b/site/app.py index 0fda45d..5e768f1 100644 --- a/site/app.py +++ b/site/app.py @@ -1,4 +1,4 @@ -from flask import Flask, render_template, jsonify +from flask import Flask, render_template class ContractsApp: def __init__(self): @@ -13,10 +13,10 @@ class ContractsApp: return render_template("index.html") def health(self): - return jsonify({"status": "ok"}) + return "OK", 200, {"Content-Type": "text/plain"} def run(self): - self.app.run(debug=True, host="0.0.0.0", port=5000) + self.app.run(host="0.0.0.0", port=5000) if __name__ == "__main__":