Skip to content

Commit

Permalink
fix: add B3CustomConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJiang2021 committed May 16, 2023
1 parent 5b83cbf commit cb81538
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/global-b3/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
declare global {
interface Window {
B3: any
B3Local: any
B3CustomConfig: any
}
}

Expand Down Expand Up @@ -31,6 +33,7 @@ const globalB3 = {
b2b_socket_url: 'https://staging-v2.bundleb2b.net',
},
...localConfig(),
...(window?.B3CustomConfig || {}),
}

export default globalB3

0 comments on commit cb81538

Please sign in to comment.