---
url: https://canary.warp-drive.io/api/@warp-drive/holodeck/functions/setConfig.md
description: Sets the host url of the Holodeck mock server that recordings are sent to.
---

# &#x20;setConfig()

```ts
function setConfig(__namedParameters: {
  host: string;
}): void;
```

Defined in: [index.ts:145](https://github.com/warp-drive-data/warp-drive/blob/48dc0d277b98008082669dadc6a52e5c5682ef8e/packages/holodeck/src/index.ts#L145)

## Parameters

### \_\_namedParameters

#### host

`string`

## Returns

`void`
