use dotenv
This commit is contained in:
parent
61b2308d2a
commit
1c683d9f9a
2 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
||||||
import minimist from 'minimist'
|
import minimist from 'minimist'
|
||||||
import { run } from './server.mjs'
|
import { run } from './server.mjs'
|
||||||
import createDebug from 'debug'
|
import createDebug from 'debug'
|
||||||
|
import Dotenv from 'dotenv'
|
||||||
|
|
||||||
|
Dotenv.config('..')
|
||||||
|
Dotenv.config()
|
||||||
|
|
||||||
const debug = createDebug('streamer')
|
const debug = createDebug('streamer')
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"baresip-wrapper": "^1.0.10",
|
"baresip-wrapper": "^1.0.10",
|
||||||
"debug": "^4.3.1",
|
"debug": "^4.3.1",
|
||||||
|
"dotenv": "^16.0.3",
|
||||||
"es-main": "^1.0.2",
|
"es-main": "^1.0.2",
|
||||||
"fastify": "^3.15.1",
|
"fastify": "^3.15.1",
|
||||||
"fastify-cors": "^6.0.1",
|
"fastify-cors": "^6.0.1",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue