From 980e07b29edb99ecaa5ff6372838c6f59327794c Mon Sep 17 00:00:00 2001 From: dusk Date: Fri, 21 Feb 2025 17:08:22 +0300 Subject: [PATCH] fix: use full image url for cloudinary --- src/routes/entries/japan-trip24/+page.md | 2 +- src/routes/entries/japan-trip24/+page.server.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/routes/entries/japan-trip24/+page.md b/src/routes/entries/japan-trip24/+page.md index 12598fd..90a5405 100644 --- a/src/routes/entries/japan-trip24/+page.md +++ b/src/routes/entries/japan-trip24/+page.md @@ -28,6 +28,6 @@ fixed!!!! i also added a few images because im dumb and forgot
{#each data.images as image} - + {/each}
\ No newline at end of file diff --git a/src/routes/entries/japan-trip24/+page.server.ts b/src/routes/entries/japan-trip24/+page.server.ts index 343fdd2..32a6755 100644 --- a/src/routes/entries/japan-trip24/+page.server.ts +++ b/src/routes/entries/japan-trip24/+page.server.ts @@ -3,10 +3,7 @@ import images from './images.json' export async function load({}) { return { images: images.map((id) => { - return { - og: `https://res.cloudinary.com/dgtwf7mar/image/upload/${id}`, - id, - } + return `https://res.cloudinary.com/dgtwf7mar/image/upload/v1/${id}` }) }; } \ No newline at end of file