From 7c0f80a95f2376e8c9aa3baac0497898cae39dfc Mon Sep 17 00:00:00 2001 From: ail3n Date: Wed, 12 Jun 2024 08:48:35 -0300 Subject: [PATCH] add env json - delete space from index.liquid --- _data/env.json | 5 +++++ index.liquid | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 _data/env.json diff --git a/_data/env.json b/_data/env.json new file mode 100644 index 0000000..a29f072 --- /dev/null +++ b/_data/env.json @@ -0,0 +1,5 @@ +{ + "AIRTABLE_API_KEY": "AIRTABLE_API_KEY", + "BASE_ID": "BASE_ID", + "TABLE_ID": "TABLE_ID" + } \ No newline at end of file diff --git a/index.liquid b/index.liquid index 5ce1249..2b56c6e 100644 --- a/index.liquid +++ b/index.liquid @@ -207,7 +207,6 @@ questionButtons.forEach(button => { }); // Airtable Connection - const apiKeyAirtable = '{{ env.AIRTABLE_API_KEY }}'; const baseId = '{{ env.BASE_ID }}'; const table = '{{ env.TABLE_ID }}';