try
This commit is contained in:
@@ -2,7 +2,10 @@ module.exports = {
|
|||||||
port: process.env.PORT || 5252,
|
port: process.env.PORT || 5252,
|
||||||
// Add any other configuration variables here
|
// Add any other configuration variables here
|
||||||
allowedOrigins: [
|
allowedOrigins: [
|
||||||
|
'http://localhost',
|
||||||
'http://localhost:5252',
|
'http://localhost:5252',
|
||||||
|
'https://localhost',
|
||||||
|
'https://localhost:5252',
|
||||||
'https://btcforplebs.com',
|
'https://btcforplebs.com',
|
||||||
'https://www.btcforplebs.com',
|
'https://www.btcforplebs.com',
|
||||||
'http://btcforplebs.com',
|
'http://btcforplebs.com',
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ const config = {
|
|||||||
// Use services.btcforplebs.com in production, localhost in development
|
// Use services.btcforplebs.com in production, localhost in development
|
||||||
apiBaseUrl: window.location.hostname === 'localhost'
|
apiBaseUrl: window.location.hostname === 'localhost'
|
||||||
? 'http://localhost:5252'
|
? 'http://localhost:5252'
|
||||||
: 'https://services.btcforplebs.com'
|
: window.location.protocol + '//services.btcforplebs.com'
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user