fix: typo in url

This commit is contained in:
Dominik Koch 2025-07-22 00:34:49 +02:00
parent 11b270ffd3
commit e5c8df5555
2 changed files with 2 additions and 2 deletions

View File

@ -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
NEXT_PUBLIC_MARBLE_API_URL=https://api.marblecms.com

View File

@ -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<T>(endpoint: string): Promise<T> {