Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/pwa/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ COINPAY_OAUTH_CLIENT_ID=
RESEND_API_KEY=
RESEND_FROM=moshcode <notify@moshcoding.com>

# web push (VAPID) — generate with: node -e "console.log(require('web-push').generateVAPIDKeys())"
# web push (VAPID) — generate with (from apps/pwa):
# node -e "import('@profullstack/notifications/server').then(m => console.log(m.generateVapidKeys()))"
# VAPID_PUBLIC_KEY / VAPID_PRIVATE_KEY are accepted as well.
VAPID_PUBLIC=
VAPID_PRIVATE=
VAPID_SUBJECT=mailto:you@example.com
Expand Down
2 changes: 1 addition & 1 deletion apps/pwa/deploy/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RESEND_API_KEY=
RESEND_FROM=moshcode <notify@moshcoding.com>

# web push (VAPID) — generate with:
# node -e "console.log(require('web-push').generateVAPIDKeys())"
# node -e "import('@profullstack/notifications/server').then(m => console.log(m.generateVapidKeys()))"
# Use a DIFFERENT keypair from prod. A subscription is bound to the key that
# created it, so sharing one lets this box push to prod's subscribers.
VAPID_PUBLIC=
Expand Down
155 changes: 11 additions & 144 deletions apps/pwa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"dependencies": {
"@libsql/client": "^0.14.0",
"@peculiar/x509": "^1.14.3",
"@profullstack/notifications": "^0.1.0",
"@profullstack/synconfig": "^0.1.1",
"@simplewebauthn/browser": "^13.3.0",
"@simplewebauthn/server": "^13.1.0",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"cookie-parser": "^1.4.7",
"express": "^4.21.2",
"web-push": "^3.6.7"
"express": "^4.21.2"
},
"devDependencies": {
"@moshcoder/moshpit-name": "^0.4.0"
Expand Down
Loading
Loading