injectQuery = (url, query) =>
	url.includes("?") ? url.replace("?", `?${query}&`) : `${url}?${query}`
@param {string} url 
@param {string} query 
Source: https://github.com/remix-run/remix/pull/10254
@returns