We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d798661 commit c0937c0Copy full SHA for c0937c0
2 files changed
api-gateway/src/app.ts
@@ -7,8 +7,6 @@ import { routes } from "./routes";
7
8
const app:Application = express();
9
10
-app.set('trust proxy', true);
11
-
12
app.use(morgan("dev"))
13
app.use(express.json())
14
app.use(express.urlencoded({extended:true}));
api-gateway/src/middleware/security.ts
@@ -4,7 +4,6 @@ import rateLimit from "express-rate-limit";
4
import { Application } from "express";
5
6
export const applySecurityMiddleware = (app: Application) => {
- app.set('trust proxy', true);
// Apply Helmet with CORS-friendly settings
app.use(helmet({
0 commit comments