Skip to main content

Function: resolveApplicationUrl()

resolveApplicationUrl(path): string

Resolves a path against the application's base.

Parameters​

• path: string = ''

a relative path is relative to the application, an absolute path is relative to the server root, and a full URL (a CDN) is used as given. An empty path yields the application's base itself.

Returns​

string

an absolute URL, or path unchanged when there is nothing to resolve it against (a non-browser context).

Defined in​

packages/core/src/utilities/resolveApplicationUrl.ts:88