remove helmet
This commit is contained in:
parent
0054a269a5
commit
b2347fd709
2
main.js
2
main.js
@ -2,7 +2,6 @@ import express from "express";
|
||||
import bodyParser from "body-parser";
|
||||
import cookieParser from "cookie-parser";
|
||||
import cors from "cors";
|
||||
import helmet from "helmet";
|
||||
import morgan from "morgan";
|
||||
import api from "./package.json" assert {type: "json"};
|
||||
|
||||
@ -12,7 +11,6 @@ import { getAllocatedResources, approveResources } from "./utils.js";
|
||||
import { getUserConfig } from "./db.js";
|
||||
|
||||
const app = express();
|
||||
app.use(helmet());
|
||||
app.use(bodyParser.urlencoded({extended: true}));
|
||||
app.use(cookieParser())
|
||||
app.use(cors({origin: domain}));
|
||||
|
@ -10,7 +10,6 @@
|
||||
"cookie-parser": "^1.4.6",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.18.2",
|
||||
"helmet": "^6.0.1",
|
||||
"morgan": "^1.10.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user