Skip to content

@vtj


@vtj / utils / url / getCurrentHost

Function: getCurrentHost()

getCurrentHost(includePath): null | string

Defined in: packages/utils/src/url.ts:7

获取当前页面的 host

Parameters

includePath

boolean

Returns

null | string

Released under the MIT License.