We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e484f30 commit 3a67d64Copy full SHA for 3a67d64
src/lib/getPosts.ts
@@ -1,7 +1,7 @@
1
export default async function getPosts() {
2
const API_KEY = process.env.NEXT_GHOST_CMS_API_KEY;
3
const endpoint = `${process.env.NEXT_GHOST_CMS_CONTENT_URL}/posts?key=${API_KEY}&filter=tag:[hardhat,hardhat-ignition]`;
4
- console.log(endpoint)
+
5
const response = await fetch(endpoint);
6
7
if (!response.ok) {
0 commit comments