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, port: process.env.PORT || 5252,
// Add any other configuration variables here // Add any other configuration variables here
allowedOrigins: [ allowedOrigins: [
'https://localhost:5252',
'https://localhost:5252',
'https://localhost:9000',
'http://localhost:9000',
'https://btcforplebs.com',
'http://btcforplebs.com',
'https://services.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", "homepage": "https://github.com/btcforplebs/BTCforPlebs.com#readme",
"dependencies": { "dependencies": {
"config": "^4.1.1", "config": "^4.1.1",
"cors": "^2.8.5",
"express": "^5.1.0", "express": "^5.1.0",
"node-fetch": "^2.7.0" "node-fetch": "^2.7.0"
}, },

View File

@@ -56,5 +56,5 @@ app.use(
// Start the server // Start the server
app.listen(PORT, () => { 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}`);
}); });