fix origin

This commit is contained in:
CHIEFSOFT\ameye
2024-03-10 20:01:37 -04:00
parent f2393e1b5b
commit 38eb8b5249
+1 -1
View File
@@ -27,7 +27,7 @@ const server = http.createServer(app);
const io = new Server(server, {
cors: {
origin: "http://localhost:3000",
origin: " * ",
methods: ["GET", "POST"],
},
});