bu ne bilmiyorum da Abdullah
Signed-off-by: Ferit Yiğit BALABAN <fyb@fybx.dev>
This commit is contained in:
parent
1e5c5c4a7a
commit
7fa6191f96
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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user