feat: revert gaia url

This commit is contained in:
alter-eggo
2023-05-25 20:58:35 +04:00
committed by Anastasios
parent bc1ee1cd2e
commit 52375a0d8b
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;