Update src/app/blog/page.tsx

This commit is contained in:
2026-01-29 18:55:28 +00:00
parent f48a5b58df
commit 9b89d1afc6

View File

@@ -56,7 +56,8 @@ export default function BlogPage() {
const url = `${apiUrl}/posts/${projectId}?status=published`;
const response = await fetch(url, {
method: "GET", headers: {
"Content-Type": "application/json"},
"Content-Type": "application/json"
},
});
if (response.ok) {
@@ -163,4 +164,4 @@ export default function BlogPage() {
</ReactLenis>
</ThemeProvider>
);
}
}