Fix old URL generation

This commit is contained in:
gpt-engineer-app[bot]
2025-10-30 01:06:50 +00:00
parent 9f52d423f0
commit f95eaf9eb7
5 changed files with 21 additions and 26 deletions

View File

@@ -151,7 +151,7 @@ export function MarkdownEditor({
if (error) throw error;
// Return CloudFlare imagedelivery.net URL
// Return Cloudflare CDN URL
const imageUrl = getCloudflareImageUrl((data as { id: string }).id, 'public');
if (!imageUrl) throw new Error('Failed to generate image URL');