mirror of
https://dev.azure.com/tstanciu94/PhantomMind/_git/Bitip
synced 2025-10-13 01:52:19 +03:00
refactor: update security middleware to disable COOP and CORP for HTTP access
This commit is contained in:
parent
0b3e37926a
commit
e309e4f71b
@ -35,6 +35,8 @@ app.use(
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
strictTransportSecurity: false, // Disable HSTS to allow HTTP access
|
strictTransportSecurity: false, // Disable HSTS to allow HTTP access
|
||||||
|
crossOriginOpenerPolicy: false, // Disable COOP to allow HTTP access
|
||||||
|
crossOriginResourcePolicy: false, // Disable CORP to allow HTTP access
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user