feat: add CORS support with user-sourced trusted origins from .env
All checks were successful
Update changelog / changelog (push) Successful in 24s

This commit is contained in:
2025-12-30 17:41:35 +01:00
parent 7abf5bad09
commit 6ad9c6fd61
5 changed files with 88 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
"description": "Your go-to place for short and memorable URLs.",
"type": "commonjs",
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/lodash": "^4.17.21",
@@ -13,6 +14,7 @@
"typescript": "^5.8.2"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.1.0",
"jsonwebtoken": "^9.0.3",