modified gitignore file
Signed-off-by: heyhiru <hirentimbadiya74@gmail.com>
Este commit está contenido en:
@@ -1 +1 @@
|
||||
PORT=8081
|
||||
PORT=8080
|
||||
3
server/.gitignore
vendido
3
server/.gitignore
vendido
@@ -1 +1,2 @@
|
||||
node_modules
|
||||
node_modules
|
||||
.env
|
||||
@@ -6,13 +6,11 @@ const dotenv = require('dotenv');
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const io = new Server(8080, {
|
||||
cors: true
|
||||
});
|
||||
|
||||
|
||||
const app = express();
|
||||
const server = http.createServer(app);
|
||||
const io = new Server(server, {
|
||||
cors: true
|
||||
});
|
||||
|
||||
app.use(cors());
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user