This commit is contained in:
2025-09-27 00:32:08 -04:00
parent c3d8893436
commit ebb026d003
2 changed files with 4 additions and 1 deletions

View File

@@ -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',

View File

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