mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-15 23:51:50 +03:00
13 lines
380 B
JavaScript
13 lines
380 B
JavaScript
|
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()
|
||
|
|