mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: move to next_public keys
This commit is contained in:
@@ -116,7 +116,7 @@ Before you begin, ensure you have the following installed on your system:
|
|||||||
|
|
||||||
# Marble Blog
|
# Marble Blog
|
||||||
MARBLE_WORKSPACE_KEY=cm6ytuq9x0000i803v0isidst # example organization key
|
MARBLE_WORKSPACE_KEY=cm6ytuq9x0000i803v0isidst # example organization key
|
||||||
MARBLE_API_URL=https://api.marblecms.com
|
NEXT_PUBLIC_MARBLE_API_URLL=https://api.marblecms.com
|
||||||
|
|
||||||
# Development
|
# Development
|
||||||
NODE_ENV="development"
|
NODE_ENV="development"
|
||||||
|
|||||||
@@ -16,4 +16,4 @@ UPSTASH_REDIS_REST_TOKEN=example_token
|
|||||||
|
|
||||||
# Marble Blog
|
# Marble Blog
|
||||||
MARBLE_WORKSPACE_KEY=cm6ytuq9x0000i803v0isidst # example organization key
|
MARBLE_WORKSPACE_KEY=cm6ytuq9x0000i803v0isidst # example organization key
|
||||||
MARBLE_API_URL=https://api.marblecms.com
|
NEXT_PUBLIC_MARBLE_API_URLL=https://api.marblecms.com
|
||||||
@@ -6,8 +6,8 @@ import rehypeSlug from "rehype-slug";
|
|||||||
import rehypeAutolinkHeadings from "rehype-autolink-headings";
|
import rehypeAutolinkHeadings from "rehype-autolink-headings";
|
||||||
import rehypeSanitize from "rehype-sanitize";
|
import rehypeSanitize from "rehype-sanitize";
|
||||||
|
|
||||||
const url = process.env.MARBLE_API_URL || "https://api.marblecms.com";
|
const url = process.env.NEXT_PUBLIC_MARBLE_API_URLL ?? "https://api.marblecms.com";
|
||||||
const key = process.env.MARBLE_WORKSPACE_KEY || "cm6ytuq9x0000i803v0isidst";
|
const key = process.env.MARBLE_WORKSPACE_KEY ?? "cm6ytuq9x0000i803v0isidst";
|
||||||
|
|
||||||
async function fetchFromMarble<T>(endpoint: string): Promise<T> {
|
async function fetchFromMarble<T>(endpoint: string): Promise<T> {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user