fix: usar PORT do env ou fallback 3000
This commit is contained in:
@@ -5,7 +5,7 @@ const axios = require('axios');
|
||||
const { exec, spawn } = require('child_process');
|
||||
|
||||
const app = express();
|
||||
const PORT = 4000;
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
// Security headers
|
||||
app.use((req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user