diff options
| author | Dominik Koch <dominik@koch-bautechnik.de> | 2025-07-22 00:27:23 +0200 |
|---|---|---|
| committer | Dominik Koch <dominik@koch-bautechnik.de> | 2025-07-22 00:27:23 +0200 |
| commit | b10c8536fab4bad5d60b34a29e34b94315cbefe6 (patch) | |
| tree | cfe7cc634432b80f28ec79a5598628d904e868f5 /apps/web/src/lib | |
| parent | 8c1ea7e6806f47f14a46fd4ab6490b2911430803 (diff) | |
| download | opencut-b10c8536fab4bad5d60b34a29e34b94315cbefe6.tar.gz | |
fix: move to next_public keys
Diffstat (limited to 'apps/web/src/lib')
| -rw-r--r-- | apps/web/src/lib/blog-query.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/lib/blog-query.ts b/apps/web/src/lib/blog-query.ts index f82c54fe..6ad8cb6c 100644 --- a/apps/web/src/lib/blog-query.ts +++ b/apps/web/src/lib/blog-query.ts @@ -6,8 +6,8 @@ import rehypeSlug from "rehype-slug"; import rehypeAutolinkHeadings from "rehype-autolink-headings"; import rehypeSanitize from "rehype-sanitize"; -const url = process.env.MARBLE_API_URL || "https://api.marblecms.com"; -const key = process.env.MARBLE_WORKSPACE_KEY || "cm6ytuq9x0000i803v0isidst"; +const url = process.env.NEXT_PUBLIC_MARBLE_API_URLL ?? "https://api.marblecms.com"; +const key = process.env.MARBLE_WORKSPACE_KEY ?? "cm6ytuq9x0000i803v0isidst"; async function fetchFromMarble<T>(endpoint: string): Promise<T> { try { |
