# readerUrl

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/p/[slugId]/lib/readerFetch.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/p/[slugId]/lib/readerFetch.ts#L39)

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

| Name | Type |
|---|---|
| `path` | `string` |

**Returns:** `string`
