mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-01-12 22:53:27 +08:00
feat: revert gaia url
This commit is contained in:
@@ -3,7 +3,7 @@ import { ChainID } from '@stacks/transactions';
|
||||
import { IS_TEST_ENV } from './environment';
|
||||
import { Blockchains } from './models/blockchain.model';
|
||||
|
||||
export const gaiaUrl = 'https://hub.hiro.so';
|
||||
export const gaiaUrl = 'https://hub.blockstack.org';
|
||||
|
||||
export const POPUP_CENTER_WIDTH = 442;
|
||||
export const POPUP_CENTER_HEIGHT = 646;
|
||||
|
||||
@@ -50,7 +50,7 @@ describe(`Profile updating`, () => {
|
||||
function interceptGaiaRequest(page: Page): Promise<Buffer> {
|
||||
return new Promise(resolve => {
|
||||
page.on('request', request => {
|
||||
if (request.url().startsWith('https://hub.hiro.so')) {
|
||||
if (request.url().startsWith('https://hub.blockstack.org/store')) {
|
||||
const requestBody = request.postDataBuffer();
|
||||
if (request.method() === 'GET') return;
|
||||
if (requestBody === null) return;
|
||||
|
||||
Reference in New Issue
Block a user