fix: add dotenv vault
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
#################################################################################
|
||||
# #
|
||||
# This file uniquely identifies your project in dotenv-vault. #
|
||||
# You SHOULD commit this file to source control. #
|
||||
# #
|
||||
# Generated with 'npx dotenv-vault new' #
|
||||
# #
|
||||
# Learn more at https://dotenv.org/env-vault #
|
||||
# #
|
||||
#################################################################################
|
||||
|
||||
DOTENV_VAULT=vlt_ec81c3b4428f6b230fe7295edceef4214cd1b7b5b04982ab652b12393652128a
|
||||
@@ -128,3 +128,8 @@ dist
|
||||
.yarn/build-state.yml
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
.env*
|
||||
.flaskenv*
|
||||
!.env.project
|
||||
!.env.vault
|
||||
@@ -1,9 +1,7 @@
|
||||
import { type RootHookObject, type Context } from 'mocha';
|
||||
import { expect } from 'chai';
|
||||
import * as dotenv from 'dotenv';
|
||||
import path from 'path';
|
||||
const envPath = path.resolve(__dirname, '.env');
|
||||
dotenv.config({ path: envPath });
|
||||
dotenv.config();
|
||||
|
||||
let baseURL: string | undefined;
|
||||
let apiKey: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user