Signed-off-by: heyhiru <hirentimbadiya74@gmail.com>
Este commit está contenido en:
heyhiru
2023-11-17 00:54:02 +05:30
padre c289636a26
commit 2fcdd417b9

Ver fichero

@@ -12,7 +12,12 @@ const io = new Server(server, {
cors: true
});
app.use(cors());
app.use(cors({
origin: "https://video-peers-backend.vercel.app/",
methods: "GET,HEAD,PUT,PATCH,POST,DELETE",
credentials: true,
}));
app.get("/", (req, res) => {
res.send("Hello World");