remove cors
This commit is contained in:
parent
091a21c8e6
commit
3510cf28a9
2 changed files with 0 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
|||
const express = require("express");
|
||||
const db = require("./db");
|
||||
const port = 3000;
|
||||
const cors = require('cors'); // to remove cors origin error in dev TODO: remove when dockerized
|
||||
|
||||
const app = express();
|
||||
app.use(cors()); // to remove cors origin error in dev TODO: remove when dockerized
|
||||
app.use(express.json());
|
||||
|
||||
// ####### ROUTES #######
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"license": "ISC",
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^17.0.1",
|
||||
"express": "^5.1.0",
|
||||
"knex": "^3.1.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue