# Url

TypeScript source: `constants/url.ts`

## Constants

### DEFAULT_WS_URL

Source: `constants/url.ts:4`

```ts
string
```

Default WebSocket URL inferred from the current browser location.

### IS_ELECTRON

Source: `constants/url.ts:23`

```ts
boolean
```

Whether the current runtime appears to be an Electron renderer.

### IS_LOCALHOST

Source: `constants/url.ts:17`

```ts
boolean
```

Whether the current page is served from a localhost origin.

### LOCALHOST_WS_URL

Source: `constants/url.ts:12`

```ts
"ws://localhost:8765"
```

Local WebSocket URL used by development and Electron environments.
