Skip to content

@pumpkin-plugins/port-mapping API / url / resolveUrl

Function: resolveUrl() ​

resolveUrl(reference, base): string

Defined in: tools/port-mapping/src/url.ts:29

Resolves a URL that may be relative to the document it was found in.

Parameters ​

reference ​

string

A full URL or a path such as /ctl/IPConn.

base ​

string

The URL of the document, or the URLBase it names.

Returns ​

string

Pumpkin Plugins documentation