mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-01-23 09:00:37 +00:00
6 lines
131 B
JavaScript
6 lines
131 B
JavaScript
// prefix helper
|
|
const prefixUrl = (url, publicUrl) =>
|
|
url.startsWith('data:') ? url : publicUrl + url
|
|
|
|
export { prefixUrl }
|