🎨 change default port to 1000 + CORS

This commit is contained in:
Flam3rboy
2021-04-19 22:00:48 +02:00
parent 763afac56e
commit e971ba1b62
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { Router } from "express";
const router = Router();
router.get("/", (req, res) => {
res.send({ url: "ws://localhost:8080" });
res.send({ url: "ws://localhost:2000" });
});
export default router;