use dotenv

This commit is contained in:
Franz Heinzmann (Frando) 2023-03-01 16:51:34 +01:00
parent 61b2308d2a
commit 1c683d9f9a
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,10 @@
import minimist from 'minimist'
import { run } from './server.mjs'
import createDebug from 'debug'
import Dotenv from 'dotenv'
Dotenv.config('..')
Dotenv.config()
const debug = createDebug('streamer')

View file

@ -12,6 +12,7 @@
"dependencies": {
"baresip-wrapper": "^1.0.10",
"debug": "^4.3.1",
"dotenv": "^16.0.3",
"es-main": "^1.0.2",
"fastify": "^3.15.1",
"fastify-cors": "^6.0.1",