link (href) {
		function addGetParam (curr) {
			if (href.includes("?")) return `${curr}&ver=${VERSION_NUMBER}`;
			else return `${curr}?ver=${VERSION_NUMBER}`;
		}

		if (!IS_ROLL20 && IS_DEPLOYED) return addGetParam(`${DEPLOYED_STATIC_ROOT}${href}`);
		else if (IS_DEPLOYED) return addGetParam(href);
		return href;
	}
/**
	 * All internal URL construction should pass through here, to ensure `static.5etools.com` is used when required.
	 *
	 * @param href the link
	 */
All internal URL construction should pass through here, to ensure `static.5etools.com` is used when required.
@param href the link
All internal URL construction should pass through here to ensure ` static . 5etools . com ` is used when required . @param href the link
link (href) {
		function addGetParam (curr) {
			if (href.includes("?")) return `${curr}&ver=${VERSION_NUMBER}`;
			else return `${curr}?ver=${VERSION_NUMBER}`;
		}
		if (!IS_ROLL20 && IS_DEPLOYED) return addGetParam(`${DEPLOYED_STATIC_ROOT}${href}`);
		else if (IS_DEPLOYED) return addGetParam(href);
		return href;
	}
link ( href ) { function addGetParam ( curr ) { if ( href . includes ( "?" ) ) return ` ${ curr } ${ VERSION_NUMBER } ` ; else return ` ${ curr } ${ VERSION_NUMBER } ` ; } if ( ! IS_ROLL20 && IS_DEPLOYED ) return addGetParam ( ` ${ DEPLOYED_STATIC_ROOT } ${ href } ` ) ; else if ( IS_DEPLOYED ) return addGetParam ( href ) ; return href ; }
All internal URL construction should pass through here, to ensure `static.5etools.com` is used when required.
All internal URL construction should pass through here to ensure ` static . 5etools . com ` is used when required .