This commit is contained in:
Logen
2025-09-29 05:03:44 -04:00
parent 0ecea4b316
commit 9d8b84e6e1
3 changed files with 5 additions and 8 deletions

View File

@@ -2,13 +2,9 @@ module.exports = {
port: process.env.PORT || 5252,
// Add any other configuration variables here
allowedOrigins: [
'https://localhost:5252',
'https://localhost:5252',
'https://localhost:9000',
'http://localhost:9000',
'https://btcforplebs.com',
'http://btcforplebs.com',
'https://services.btcforplebs.com',
'http://services.btcforplebs.com'
'http://services.btcforplebs.com',
'https://btcforplebs.com',
'http://btcforplebs.com'
]
};

View File

@@ -23,6 +23,7 @@
"homepage": "https://github.com/btcforplebs/BTCforPlebs.com#readme",
"dependencies": {
"config": "^4.1.1",
"cors": "^2.8.5",
"express": "^5.1.0",
"node-fetch": "^2.7.0"
},

View File

@@ -56,5 +56,5 @@ app.use(
// Start the server
app.listen(PORT, () => {
console.log(`🚀 Server running at http://0.0.0.0:${PORT}`);
console.log(`🚀 Server running at http://127.0.0.1:${PORT}`);
});