mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
This commit is contained in:
parent
6630ef58d6
commit
f32449f83d
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ export const getCompressURL = (url: string) => {
|
|||
(url.endsWith(".png") || url.endsWith(".jpg") || url.endsWith(".jpeg"))) {
|
||||
return url + "?style=thumb";
|
||||
}
|
||||
return url;
|
||||
};
|
||||
|
||||
export const removeCompressURL = (url: string) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue