mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
Update image loader URL in loader.js
This commit is contained in:
@@ -6,7 +6,7 @@ export default function myImageLoader({ src, width, quality }) {
|
|||||||
return src;
|
return src;
|
||||||
}
|
}
|
||||||
if (isLocal) {
|
if (isLocal) {
|
||||||
const baseUrl = 'https://gkw0c8k.arm.coolify.io';
|
const baseUrl = 'https://xoos0kk.heyandras.dev';
|
||||||
const fullSrc = `${baseUrl}${src}`;
|
const fullSrc = `${baseUrl}${src}`;
|
||||||
return `https://images.coollabs.io/o/${fullSrc}?width=${width}&quality=${quality || 75}`
|
return `https://images.coollabs.io/o/${fullSrc}?width=${width}&quality=${quality || 75}`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user