diff --git a/apps/web/.env.example b/apps/web/.env.example index 182dc5b2..b21f9a92 100644 --- a/apps/web/.env.example +++ b/apps/web/.env.example @@ -16,4 +16,4 @@ UPSTASH_REDIS_REST_TOKEN=example_token # Marble Blog MARBLE_WORKSPACE_KEY=cm6ytuq9x0000i803v0isidst # example organization key -NEXT_PUBLIC_MARBLE_API_URLL=https://api.marblecms.com \ No newline at end of file +NEXT_PUBLIC_MARBLE_API_URL=https://api.marblecms.com \ No newline at end of file diff --git a/apps/web/src/lib/blog-query.ts b/apps/web/src/lib/blog-query.ts index 6ad8cb6c..5c7c7200 100644 --- a/apps/web/src/lib/blog-query.ts +++ b/apps/web/src/lib/blog-query.ts @@ -6,7 +6,7 @@ import rehypeSlug from "rehype-slug"; import rehypeAutolinkHeadings from "rehype-autolink-headings"; import rehypeSanitize from "rehype-sanitize"; -const url = process.env.NEXT_PUBLIC_MARBLE_API_URLL ?? "https://api.marblecms.com"; +const url = process.env.NEXT_PUBLIC_MARBLE_API_URL ?? "https://api.marblecms.com"; const key = process.env.MARBLE_WORKSPACE_KEY ?? "cm6ytuq9x0000i803v0isidst"; async function fetchFromMarble(endpoint: string): Promise {