---
url: >-
  https://lit-ui-router.dev/api/ui-router-server/fetch/type-aliases/ShellServer.md
---
[ui-router-server](../../index.md) / [fetch](../index.md) / ShellServer

# Type Alias: ShellServer

```ts
type ShellServer = (mount, request) => 
  | Response
| Promise<Response>;
```

Defined in: [fetch.ts:172](https://github.com/simshanith/lit-ui-router/blob/3ab90929a8d23dda96e259d7396a274c5b05398e/packages/ui-router-server/src/fetch.ts#L172)

Serves a mount's shell asset; see [FetchAdapterOptions.serveShell](../interfaces/FetchAdapterOptions.md#serveshell).

## Parameters

| Parameter | Type |
| ------ | ------ |
| `mount` | `string` |
| `request` | [`Request`](https://developer.mozilla.org/en-US/docs/Web/API/Request) |

## Returns

| [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response)
| `Promise`<[`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response)>
