Page Contents

Home > @loopback/rest > RestServer > url

RestServer.url property

The base url for the server, including the basePath if set. For example, the value will be ‘http://localhost:3000/api’ if basePath is set to ‘/api’.

Signature:

readonly url: string | undefined;