trust proxy
This commit is contained in:
parent
0e6ceff71f
commit
f9765a9e7e
@ -27,3 +27,5 @@ const corsOptions = {
|
||||
};
|
||||
|
||||
app.use(cors(corsOptions));
|
||||
|
||||
app.set('trust proxy', '127.0.0.1');
|
||||
|
Loading…
Reference in New Issue
Block a user