Update image loader URL in loader.js

This commit is contained in:
Andras Bacsai
2024-04-24 10:32:40 +02:00
parent 7eea6ed04f
commit 6e812d2c03

View File

@@ -6,7 +6,7 @@ export default function myImageLoader({ src, width, quality }) {
return src;
}
if (isLocal) {
const baseUrl = 'https://gkw0c8k.arm.coolify.io';
const baseUrl = 'https://xoos0kk.heyandras.dev';
const fullSrc = `${baseUrl}${src}`;
return `https://images.coollabs.io/o/${fullSrc}?width=${width}&quality=${quality || 75}`
}