bu ne bilmiyorum da Abdullah
Signed-off-by: Ferit Yiğit BALABAN <fyb@fybx.dev>
This commit is contained in:
1
index.js
1
index.js
@@ -13,6 +13,7 @@ const SERV_PORT = process.env.EMAIL_PORT;
|
|||||||
|
|
||||||
const allowedOrigins = process.env.ALLOWED_ORIGINS.split(',');
|
const allowedOrigins = process.env.ALLOWED_ORIGINS.split(',');
|
||||||
|
|
||||||
|
app.enable('trust proxy');
|
||||||
app.disable('x-powered-by');
|
app.disable('x-powered-by');
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
app.use(helmet());
|
app.use(helmet());
|
||||||
|
|||||||
Reference in New Issue
Block a user