mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-03-06 04:25:13 +08:00
reverted cors change
This commit is contained in:
parent
85504136f5
commit
829a7bc10c
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ const PORT = process.env.PORT || 5005;
|
|||
const app = express();
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
app.use(express.json());
|
||||
app.use(cors({ origin: true }));
|
||||
app.use(cors());
|
||||
|
||||
const userRouter = require("./api/routes/user");
|
||||
app.use("/user", userRouter);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue