changed remote url

Signed-off-by: heyhiru <hirentimbadiya74@gmail.com>
Este commit está contenido en:
heyhiru
2023-11-17 01:08:31 +05:30
padre 78ad9d4fc5
commit 3d97747567
Se han modificado 2 ficheros con 3 adiciones y 8 borrados

Ver fichero

@@ -12,12 +12,7 @@ const io = new Server(server, {
cors: true
});
app.use(cors({
origin: "localhost:8080",
methods: "GET,HEAD,PUT,PATCH,POST,DELETE",
credentials: true,
}));
app.use(cors());
app.get("/", (req, res) => {
res.send("Hello World");
@@ -67,4 +62,4 @@ io.on("connection", (socket) => {
});
})
server.listen(process.env.PORT, () => console.log(`Server Is Up and Running.`));
server.listen(process.env.PORT, () => console.log(`Server has started.`));