From f908e60804bd90bdbcc542309fe2b3237b551b0a Mon Sep 17 00:00:00 2001 From: poni Date: Mon, 19 Dec 2022 09:59:33 +0100 Subject: [PATCH] f --- axios-example/app.py | 6 +++--- axios-example/templates/index.html | 25 ++++++++++++++----------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/axios-example/app.py b/axios-example/app.py index 2385c8f..bd13432 100644 --- a/axios-example/app.py +++ b/axios-example/app.py @@ -21,15 +21,15 @@ def index(): def api_datapoint(): - metaDict = open('meta.json',) - meta = json.load(metaDict) + # metaDict = open('meta.json',) + # meta = json.load(metaDict) picsDict = open('pics.json',) pics = json.load(picsDict) dictionary_to_return = { - 'meta': meta, + # 'meta': meta, 'pics': pics } diff --git a/axios-example/templates/index.html b/axios-example/templates/index.html index 1fcd502..d0c5619 100644 --- a/axios-example/templates/index.html +++ b/axios-example/templates/index.html @@ -19,11 +19,12 @@ -
+ + +

-
+ -->
@@ -37,13 +38,13 @@