Skip to content

Commit

Permalink
Include LD Fetch (#2089)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds authored Dec 17, 2024
1 parent 4848e04 commit c8e9a76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ppr-ui/src/plugins/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ export default defineNuxtPlugin(async (nuxtApp) => {
// Set all feature flags to true
setAllFlagDefaults(true)
}

// initialize Launch Darkly
if ((window as any).ldClientId) {
console.info('Initializing Launch Darkly...')
await initLdClient()
}

nuxtApp.vueApp.use(Vuelidate)
nuxtApp.vueApp.use(tabFocus)
Expand Down

0 comments on commit c8e9a76

Please sign in to comment.