feat: pwa with push notifications (#337)
This commit is contained in:
parent
a18e5e2332
commit
f0c91a3974
48 changed files with 2903 additions and 14 deletions
12
https-dev-config/local-https-server.mjs
Normal file
12
https-dev-config/local-https-server.mjs
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { readFileSync } from 'node:fs'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
process.env.NITRO_SSL_CERT = readFileSync(fileURLToPath(new URL('./localhost.crt', import.meta.url)), 'utf8')
|
||||
process.env.NITRO_SSL_KEY = readFileSync(fileURLToPath(new URL('./localhost.key', import.meta.url)), 'utf8')
|
||||
|
||||
async function run() {
|
||||
await import('../.output/server/index.mjs')
|
||||
}
|
||||
|
||||
run()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue