Open popup without attempting inline (#4440)
* Open popup without attempting inline * Cater for all .web3.site addresses
This commit is contained in:
committed by
Jaco Greeff
parent
2f340a547a
commit
4ac91b3284
@@ -21,9 +21,12 @@ const MAX_GAS_ESTIMATION = '50000000';
|
||||
|
||||
const NULL_ADDRESS = '0000000000000000000000000000000000000000';
|
||||
|
||||
const DOMAIN = '.web3.site';
|
||||
|
||||
export {
|
||||
DEFAULT_GAS,
|
||||
DEFAULT_GASPRICE,
|
||||
MAX_GAS_ESTIMATION,
|
||||
NULL_ADDRESS
|
||||
NULL_ADDRESS,
|
||||
DOMAIN
|
||||
};
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
import base32 from 'base32.js';
|
||||
|
||||
const BASE_URL = '.web.web3.site';
|
||||
import { DOMAIN } from './constants';
|
||||
|
||||
const BASE_URL = `.web${DOMAIN}`;
|
||||
const ENCODER_OPTS = { type: 'crockford' };
|
||||
|
||||
export function encodePath (token, url) {
|
||||
|
||||
Reference in New Issue
Block a user