This commit is contained in:
xXpuma99Xx
2022-02-10 22:30:30 -06:00
parent 28c86b9bfb
commit 4e60b25996
2 changed files with 6 additions and 3 deletions
+4
View File
@@ -16,6 +16,10 @@ app.use(
})
);
io.on('connect', () => {
console.log('hola');
});
app.use(bodyParser.json());
app.get('/', (req, res) => res.send('API Pcpuma'));
+2 -3
View File
@@ -10,9 +10,8 @@ module.exports = {
// 'http://localhost:3056',
// 'http://132.248.80.196:3045',
// 'http://132.248.80.196:3055',
// 'https://pcpuma.acatlan.unam.mx',
// 'https://pcpuma.acatlan.unam.mx:8080',
'*',
'https://pcpuma.acatlan.unam.mx',
'https://pcpuma.acatlan.unam.mx:8080',
],
},
});