# setCdnBase

```ts
function setCdnBase(url): void;
```

Defined in: packages/asset-client/dist/index.d.ts:1045

Override the CDN base for the entire process (e.g. in tests, or when
pointing at a tenant-specific CDN). Storefront layouts call this once at
boot.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `url` | `string` |

## Returns

`void`