Files
Folo/apps/desktop/layer/renderer/src/lib/img-proxy.ts
T
2025-04-28 21:42:23 +08:00

10 lines
277 B
TypeScript

import { WEB_BUILD } from "@follow/shared/constants"
import { replaceImgUrlIfNeed as replaceImgUrlIfNeedUtils } from "@follow/utils/img-proxy"
export const replaceImgUrlIfNeed = (url?: string) => {
return replaceImgUrlIfNeedUtils({
url,
inBrowser: WEB_BUILD,
})
}