Skip to content

Repository script API / utils/github-api / normalizeBaseUrl

Function: normalizeBaseUrl() ​

normalizeBaseUrl(value, description): URL

Defined in: utils/github-api.mjs:24

Parses an HTTPS base URL and adds a trailing slash so relative API paths resolve under it.

Parameters ​

value ​

any

description ​

any

Returns ​

URL

pumpkin-plugins documentation