five-on-it / apps/client/src/ui/legal / legalHref
Function: legalHref()
legalHref(
doc,search?):string
Defined in: apps/client/src/ui/legal.ts:57
A document's address on the page's own origin (?privacy, ?terms), keeping the platform's and the browser's player (as) when the page has them.
Parameters
doc
search?
string = location.search
Returns
string