Page Contents

Home > @loopback/rest > RestServer > basePath

RestServer.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