Skip to content

Commit c8e9a76

Browse files
authored
Include LD Fetch (#2089)
1 parent 4848e04 commit c8e9a76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ppr-ui/src/plugins/init.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export default defineNuxtPlugin(async (nuxtApp) => {
1717
// Set all feature flags to true
1818
setAllFlagDefaults(true)
1919
}
20+
21+
// initialize Launch Darkly
22+
if ((window as any).ldClientId) {
23+
console.info('Initializing Launch Darkly...')
24+
await initLdClient()
25+
}
2026

2127
nuxtApp.vueApp.use(Vuelidate)
2228
nuxtApp.vueApp.use(tabFocus)

0 commit comments

Comments
 (0)