Skip to content

Commit

Permalink
frontend: temp only use debug key
Browse files Browse the repository at this point in the history
Currently production key is used even if in testnet mode, it uses
the same logic as skipfortesting component.

But with that there is now way to use the debug key in qt app.
  • Loading branch information
thisconnect committed Jan 15, 2025
1 parent 5738441 commit af47047
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontends/web/src/routes/exchange/btcdirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ export const BTCDirect = ({ accounts, code }: TProps) => {
data-address={address}
data-dev-mode={debugMode ? 'debug' : 'production'}
data-api-key={
debugMode
? '6ed4d42bd02eeac1776a6bb54fa3126f779c04d5c228fe5128bb74e89ef61f83'
: '7d71f633626901d5c4d06d91f7d0db2c15cdf524ddd0ebcd36f4d9c4e04694cd'
'6ed4d42bd02eeac1776a6bb54fa3126f779c04d5c228fe5128bb74e89ef61f83'
// TODO: enable production api-key
// debugMode
// ? '6ed4d42bd02eeac1776a6bb54fa3126f779c04d5c228fe5128bb74e89ef61f83'
// : '7d71f633626901d5c4d06d91f7d0db2c15cdf524ddd0ebcd36f4d9c4e04694cd'
}
src="/btcdirect/fiat-to-coin.html">
</iframe>
Expand Down

0 comments on commit af47047

Please sign in to comment.