Skip to content

Commit

Permalink
Fix InjectTrilogyAssets
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Naszalyi committed Nov 15, 2024
1 parent b8c9277 commit 9def354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/context/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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':'')
Expand Down

0 comments on commit 9def354

Please sign in to comment.