security: remove cors

I traced this back to a commit from 2014! 781495e662
This commit is contained in:
Girish Ramakrishnan
2026-02-17 16:56:21 +01:00
parent f08b3eb006
commit a51672f3ee
3 changed files with 0 additions and 57 deletions
-1
View File
@@ -59,7 +59,6 @@ async function initializeExpressSync() {
// the timeout middleware will respond with a 503. the request itself cannot be 'aborted' and will continue
// search for req.clearTimeout in route handlers to see places where this timeout is reset
.use(middleware.timeout(REQUEST_TIMEOUT, { respond: true }))
.use(middleware.cors({ origins: [ '*' ], allowCredentials: false }))
.use((req, res , next) => {
// we store our route resources, like app,volumes,... in req.resources. Those are added in the load() routes
req.resources = {};