diff --git a/app.py b/app.py index f3f0590..280b2d5 100644 --- a/app.py +++ b/app.py @@ -6,7 +6,7 @@ @app.route("/") def index(): - with open('data/products.json') as f: + with open('data/products.json', encoding="utf-8") as f: data = json.load(f) return render_template('index.html', products=data) diff --git a/requirements.txt b/requirements.txt index 6abcd2a..29e9b62 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ # Flask Framework -Flask==1.0.2 \ No newline at end of file +Flask>=2.0 +jinja2>=3.0.1 \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 0196b8b..9f3d546 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,7 +4,7 @@ - Products Viewer + Bikmort Products Viewer
@@ -12,7 +12,7 @@
-

Products

+

Bikmort Products