mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 14:54:54 +00:00
task: add trust proxy header
This commit is contained in:
@ -30,6 +30,8 @@ async function bootstrap() {
|
||||
}),
|
||||
);
|
||||
|
||||
app.getHttpAdapter().getInstance().set('trust proxy', 1);
|
||||
|
||||
app.use(
|
||||
helmet({
|
||||
contentSecurityPolicy: false,
|
||||
|
||||
Reference in New Issue
Block a user