diff --git a/packages/react/context/provider.tsx b/packages/react/context/provider.tsx index b7d2cfcb..f4111ded 100644 --- a/packages/react/context/provider.tsx +++ b/packages/react/context/provider.tsx @@ -5,7 +5,7 @@ import { TrilogyContext } from './index' import { version } from '../version' const getHrefFromAssetUri = (assetUrl: string, theme: string, mangled: boolean) => { - return (process.env.ASSET_URI as string) + return (assetUrl) .replace('%VERSION%', version) .replace('%THEME%', theme) .replace('%MANGLED%', mangled?'-mangled':'')