diff --git a/web/src/core/utils/json.ts b/web/src/core/utils/json.ts index b926a9b..aac3456 100644 --- a/web/src/core/utils/json.ts +++ b/web/src/core/utils/json.ts @@ -7,8 +7,8 @@ export function parseJSON(json: string | null | undefined, fallback: T) { try { const raw = json .trim() - .replace(/^```js\s*/, "") .replace(/^```json\s*/, "") + .replace(/^```js\s*/, "") .replace(/^```ts\s*/, "") .replace(/^```plaintext\s*/, "") .replace(/^```\s*/, "")