|
@@ -275,7 +275,7 @@ const { getFile } = useImport()
|
|
|
const isUrl = (str: string): boolean => {
|
|
const isUrl = (str: string): boolean => {
|
|
|
try {
|
|
try {
|
|
|
const url = new URL(str)
|
|
const url = new URL(str)
|
|
|
- return url.protocol === 'http:' || url.protocol === 'https:'
|
|
|
|
|
|
|
+ return url.protocol === 'http:' || url.protocol === 'https:' && !str.includes('https://ccrb.s3.cn-northwest-1.amazonaws.com.cn')
|
|
|
}
|
|
}
|
|
|
catch {
|
|
catch {
|
|
|
return false
|
|
return false
|