fix: supprimer publicPath override, laisser @imgly utiliser staticimgly.com par défaut
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ export async function removeBackground(blob, onProgress) {
|
|||||||
|
|
||||||
// Détourage IA → PNG avec transparence
|
// Détourage IA → PNG avec transparence
|
||||||
const pngBlob = await removeBg(blob, {
|
const pngBlob = await removeBg(blob, {
|
||||||
publicPath: CDN,
|
// publicPath omis → utilise le CDN par défaut de img.ly (staticimgly.com)
|
||||||
output: {
|
output: {
|
||||||
format: 'image/png',
|
format: 'image/png',
|
||||||
type: 'foreground',
|
type: 'foreground',
|
||||||
|
|||||||
Reference in New Issue
Block a user