---
lang: en
title: 'API docs: express.expressserver.basepath'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/express
permalink: /doc/en/lb4/apidocs.express.expressserver.basepath.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/express](./express.md) &gt; [ExpressServer](./express.expressserver.md) &gt; [basePath](./express.expressserver.basepath.md)

## ExpressServer.basePath property

Base path to mount middleware

<b>Signature:</b>

```typescript
readonly basePath: string;
```

