Compare commits
3 Commits
f3008979f3
...
84a7f30a60
Author | SHA1 | Date | |
---|---|---|---|
84a7f30a60 | |||
b6cf3b24d4 | |||
19422edbae |
@ -6,6 +6,8 @@ import { Application } from "express";
|
||||
*/
|
||||
export default async (app: Application) => {
|
||||
app.enable('trust proxy');
|
||||
app.disable('x-powered-by');
|
||||
app.disable('x-served-by');
|
||||
app.use(cookieParser());
|
||||
return app;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user