Enhance CORS and CSP configurations in Express app
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
"start": "node dist/test-backend/app.js",
|
||||
"dev": "tsx app.ts",
|
||||
"build": "tsc",
|
||||
"generate": "node generate_meters.js"
|
||||
"generate": "node generate_meters.js",
|
||||
"test": "tsx test/run-tests.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"cors": "2.8.5",
|
||||
@@ -19,6 +20,8 @@
|
||||
"@types/express": "5.0.3",
|
||||
"@types/node": "24.3.0",
|
||||
"tsx": "4.20.4",
|
||||
"typescript": "5.9.2"
|
||||
"typescript": "5.9.2",
|
||||
"node-fetch": "3.3.2",
|
||||
"@types/node-fetch": "2.6.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user