Page Contents
Home > @loopback/rest > RestApplication > basePath
RestApplication.basePath() method
Configure the basePath for the rest server
Signature:
basePath(path?: string): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| path | string | (Optional) Base path |
Returns:
void