mirror of
https://gitee.com/blossom-editor/blossom.git
synced 2025-12-06 16:58:26 +08:00
fix: picture viewer
This commit is contained in:
parent
79ee94941f
commit
c285f25567
@ -418,7 +418,7 @@ export const getFilePrefix = (name: string): string => {
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export const isHttp = (url: string) => {
|
export const isHttp = (url: string) => {
|
||||||
return url.startsWith('http://')
|
return url.startsWith('http://') || url.startsWith('https://')
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user