mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: 修复必应画图多余的svg
This commit is contained in:
parent
5f23d97bb3
commit
fd0d0ff5db
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ export default class BingDrawClient {
|
||||||
imageLinks = imageLinks
|
imageLinks = imageLinks
|
||||||
.map(link => link.split('?w=')[0])
|
.map(link => link.split('?w=')[0])
|
||||||
.map(link => link.replace('src="', ''))
|
.map(link => link.replace('src="', ''))
|
||||||
.filter(link => !link.endsWith('.svg'))
|
.filter(link => !link.includes('.svg'))
|
||||||
imageLinks = [...new Set(imageLinks)]
|
imageLinks = [...new Set(imageLinks)]
|
||||||
const badImages = [
|
const badImages = [
|
||||||
'https://r.bing.com/rp/in-2zU3AJUdkgFe7ZKv19yPBHVs.png',
|
'https://r.bing.com/rp/in-2zU3AJUdkgFe7ZKv19yPBHVs.png',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue