Skip to content

Commit

Permalink
Merge pull request #188 from BouyguesTelecom/update/injectTrilogy
Browse files Browse the repository at this point in the history
Fix #187 InjectTrilogyAssets
  • Loading branch information
air-one-x authored Nov 7, 2024
2 parents d872dab + a2dac72 commit 4deea2d
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 4deea2d

Please sign in to comment.