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
|
||||
const pngBlob = await removeBg(blob, {
|
||||
publicPath: CDN,
|
||||
// publicPath omis → utilise le CDN par défaut de img.ly (staticimgly.com)
|
||||
output: {
|
||||
format: 'image/png',
|
||||
type: 'foreground',
|
||||
|
||||
Reference in New Issue
Block a user