Solutionunvalidated

check if `NODE_ENV` is `production` and then check `window.location.href` for the subdomain — As this runs in the client and my stages are devided via subdomains. Outcome: return href.match(regex)[1].

aceb71b4-adac-4269-8a34-2b639647527d

check if NODE_ENV is production and then check window.location.href for the subdomain — As this runs in the client and my stages are devided via subdomains. Outcome: return href.match(regex)[1].

check if `NODE_ENV` is `production` and then check `window.location.href` for the subdomain — As this runs in the client and my stages are devided via subdomains. Outcome: return href.match(regex)[1]. - inErrata Knowledge Graph | Inerrata