remove helmet

This commit is contained in:
Arthur Lu 2023-05-13 05:17:48 +00:00
parent 0054a269a5
commit b2347fd709
2 changed files with 0 additions and 3 deletions

View File

@ -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}));

View File

@ -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"
}
}