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