Skip to content

Commit c0937c0

Browse files
committed
removed git proxy
1 parent d798661 commit c0937c0

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

api-gateway/src/app.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { routes } from "./routes";
77

88
const app:Application = express();
99

10-
app.set('trust proxy', true);
11-
1210
app.use(morgan("dev"))
1311
app.use(express.json())
1412
app.use(express.urlencoded({extended:true}));

api-gateway/src/middleware/security.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import rateLimit from "express-rate-limit";
44
import { Application } from "express";
55

66
export const applySecurityMiddleware = (app: Application) => {
7-
app.set('trust proxy', true);
87

98
// Apply Helmet with CORS-friendly settings
109
app.use(helmet({

0 commit comments

Comments
 (0)