manifold/web/get-manalink-url.ts
ingawei a4e2cce4aa
initial commit for manalinks UI improvements (#642)
* manalinks UI improvements

* made manalink look more like card

* changed new link to pulsing indigo instead of green
2022-07-13 16:57:34 -05:00

4 lines
120 B
TypeScript

export default function getManalinkUrl(slug: string) {
return `${location.protocol}//${location.host}/link/${slug}`
}