mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-01-12 22:53:27 +08:00
chore: change api url
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
"nftMetadataEnabled": true,
|
||||
"ordinalsbot": {
|
||||
"integrationEnabled": true,
|
||||
"mainnetApiUrl": "https://ordinalsbot-api2.herokuapp.com",
|
||||
"mainnetApiUrl": "https://api2.ordinalsbot.com",
|
||||
"signetApiUrl": "https://signet.ordinalsbot.com"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,11 +159,7 @@ export function useConfigOrdinalsbot() {
|
||||
const config = useRemoteConfig();
|
||||
return {
|
||||
integrationEnabled: get(config, 'ordinalsbot.integrationEnabled', true),
|
||||
mainnetApiUrl: get(
|
||||
config,
|
||||
'ordinalsbot.mainnetApiUrl',
|
||||
'https://ordinalsbot-api2.herokuapp.com'
|
||||
),
|
||||
mainnetApiUrl: get(config, 'ordinalsbot.mainnetApiUrl', 'https://api2.ordinalsbot.com'),
|
||||
signetApiUrl: get(config, 'ordinalsbot.signetApiUrl', 'https://signet.ordinalsbot.com'),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user