Skip to content

Kirby 4.4.1

$uri->base()

Returns the base url (scheme + host) without trailing slash

$uri->base(): string|null

Return type

string|null

Parent class

Kirby\Http\Uri