feat: add shortcut favicon

This commit is contained in:
Steven
2023-06-27 23:13:28 +08:00
parent c8751df012
commit 2a9d601df2
6 changed files with 155 additions and 3 deletions

View File

@@ -72,3 +72,7 @@ export function upsertWorkspaceSetting(key: string, value: string) {
value,
});
}
export function getUrlFavicon(url: string) {
return axios.get<string>(`/api/v1/favicon?url=${url}`);
}