uniswap-interface-uncensored/functions/utils/getFont.ts
Brendan Wong cccf6ac680
fix: add assets to public folder (#7153)
* fix: add assets to public folder

* Update global-teardown.ts

* update assets

* resize logos
2023-08-17 16:15:17 -04:00

6 lines
171 B
TypeScript

export default async function getFont(origin: string) {
const url = origin + '/fonts/Inter-normal.var.ttf'
const font = await fetch(url)
return font.arrayBuffer()
}