# ServerOptions

<!-- https://uncage.vercel.app/docs/api/server/daemon/interfaces/serveroptions/ -->

Defined in: app.ts:16

## Properties

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| <a id="property-allowedorigins"></a> `allowedOrigins?` | `string`[] | Browser origins allowed to call the API directly. Defaults to `[]`. | app.ts:23 |
| <a id="property-heartbeatms"></a> `heartbeatMs?` | `number` | SSE heartbeat interval. Defaults to 15000. | app.ts:25 |
| <a id="property-host"></a> `host?` | `"127.0.0.1"` | - | app.ts:21 |
| <a id="property-logger"></a> `logger?` | `Logger` | - | app.ts:26 |
| <a id="property-port"></a> `port?` | `number` | Defaults to 4783. `0` picks a free port at `listen()`. | app.ts:20 |
| <a id="property-token"></a> `token` | `string` | - | app.ts:18 |
| <a id="property-uncage"></a> `uncage` | `Uncage` | - | app.ts:17 |
