Legendary.CoreWeb.Endpoint.url

You're seeing just the function url, go back to Legendary.CoreWeb.Endpoint module for more information.

Generates the endpoint base URL without any path information.

It uses the configuration under :url to generate such.