mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
325e7459ee |
@@ -7,7 +7,7 @@ import rehypeAutolinkHeadings from "rehype-autolink-headings";
|
|||||||
import rehypeSanitize from "rehype-sanitize";
|
import rehypeSanitize from "rehype-sanitize";
|
||||||
|
|
||||||
const url = process.env.NEXT_PUBLIC_MARBLE_API_URL ?? "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";
|
const key = process.env.MARBLE_WORKSPACE_KEY ?? "cmd4iw9mm0006l804kwqv0k46";
|
||||||
|
|
||||||
async function fetchFromMarble<T>(endpoint: string): Promise<T> {
|
async function fetchFromMarble<T>(endpoint: string): Promise<T> {
|
||||||
try {
|
try {
|
||||||
@@ -52,4 +52,4 @@ export async function processHtmlContent(html: string): Promise<string> {
|
|||||||
|
|
||||||
const file = await processor.process(html);
|
const file = await processor.process(html);
|
||||||
return String(file);
|
return String(file);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user