Refactor middleware and routes to use onRequest for API key and admin key guards; update dependencies and improve logging for error handling
This commit is contained in:
@@ -4,17 +4,18 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "bun run --watch src/index.ts",
|
||||
"dev:wait": "bun run --watch src/wait-for-mysql.ts",
|
||||
"start": "bun run src/index.ts",
|
||||
"start:wait": "bun run src/wait-for-mysql.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@node-rs/argon2": "^2.0.2",
|
||||
"elysia": "^1.2.0",
|
||||
"elysia": "^1.4.27",
|
||||
"jszip": "^3.10.1",
|
||||
"mysql2": "^3.11.0"
|
||||
"mysql2": "^3.18.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
"typescript": "^5.0.0"
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user