feat: Implement secure VAPID key generation for push notifications
- Replace random key generation with the web-push library for generating cryptographically secure VAPID keys. - Update console output to guide users on adding keys to their environment configuration. - Enhance error handling for VAPID key generation issues. - Add web-push dependency to package.json and package-lock.json for proper functionality.
This commit is contained in:
parent
cc6ba2612d
commit
8a9ffc5918
5 changed files with 169 additions and 36 deletions
|
|
@ -69,7 +69,8 @@
|
|||
"vite-plugin-image-optimizer": "^1.1.7",
|
||||
"vite-plugin-inspect": "^0.8.3",
|
||||
"vite-plugin-pwa": "^0.21.1",
|
||||
"vue-tsc": "^2.2.0"
|
||||
"vue-tsc": "^2.2.0",
|
||||
"web-push": "^3.6.7"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.yourdomain.aio-shadcn-vite",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue