Skip to content

readerUrl

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/app/p/[slugId]/lib/readerFetch.ts

URL for a public reader path (path starts with /). In cookie mode this is the same-origin proxy (/reader-api/...); otherwise the cross-origin API directly.

Signature

ts
function readerUrl(path: string): string

Parameters

NameType
pathstring

Returns: string

Was this page helpful?

Download as PDF