From 6e4732bfd69af15b894e1b21998bb3400bcd1e6d Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Fri, 1 Mar 2024 10:46:50 +0000 Subject: [PATCH] Read omnivore API key from env --- src/_data/links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_data/links.js b/src/_data/links.js index c98ca7a..f61e2d9 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -1,5 +1,5 @@ const fs = require('node:fs'); -const apiKey = 'bf7b63c4-b6f2-4568-b554-4a3440460070'; +const apiKey = process.env.OMNIVORE_API_KEY; const cacheFile = '.cache/links.json'; const query = `query Search($after: String, $first: Int, $query: String, $format: String, $includeContent: Boolean) {