Page Contents

Home > @loopback/rest > RestServer > rootUrl

RestServer.rootUrl property

The root url for the server without the basePath. For example, the value will be ‘http://localhost:3000’ regardless of the basePath.

Signature:

get rootUrl(): string | undefined;