diff --git a/src/lib/server/cloudinary.ts b/src/lib/server/cloudinary.ts index 5eec9c9..0e90a2e 100644 --- a/src/lib/server/cloudinary.ts +++ b/src/lib/server/cloudinary.ts @@ -77,11 +77,8 @@ export async function uploadFile( customOptions?: any ): Promise { try { - // TEMPORARY: Force Cloudinary usage for testing SVG uploads - const FORCE_CLOUDINARY_IN_DEV = true; // Toggle this to test - // Use local storage in development or when Cloudinary is not configured - if ((dev && !FORCE_CLOUDINARY_IN_DEV) || !isCloudinaryConfigured()) { + if (dev || !isCloudinaryConfigured()) { logger.info('Using local storage for file upload') const localResult = await uploadFileLocally(file, type)