ajout app
This commit is contained in:
8
Voltaserve/idp/src/infra/env.ts
Normal file
8
Voltaserve/idp/src/infra/env.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import fs from 'fs'
|
||||
import dotenv from 'dotenv'
|
||||
|
||||
if (fs.existsSync('.env.local')) {
|
||||
dotenv.config({ path: '.env.local' })
|
||||
} else {
|
||||
dotenv.config()
|
||||
}
|
Reference in New Issue
Block a user