use cookie to store the bearer token

This commit is contained in:
StarAppeal
2025-09-11 05:35:51 +02:00
parent 65c9857704
commit 9e63c9d33e
7 changed files with 238 additions and 65 deletions
+2
View File
@@ -23,6 +23,7 @@
"@types/ws": "^8.5.10",
"axios": "^1.7.7",
"bcrypt": "^5.1.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.4",
"express": "^5.1.0",
@@ -36,6 +37,7 @@
"ws": "8.17.1"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.9",
"@types/cors": "^2.8.17",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4",