Log node env

This commit is contained in:
Jordan Eldredge 2022-03-09 21:57:32 -08:00
parent 11ccf71dce
commit 29ba129cb0
2 changed files with 2 additions and 1 deletions

View file

@ -2,4 +2,6 @@ import Knex from "knex";
import * as knexConfigs from "./knexfile";
import { NODE_ENV } from "./config";
console.log({ NODE_ENV });
export const knex = Knex(knexConfigs[NODE_ENV]);

View file

@ -25,4 +25,3 @@ process.env.TWITTER_ACCESS_TOKEN_SECRET = "";
process.env.INSTAGRAM_ACCESS_TOKEN = "";
process.env.INSTAGRAM_ACCOUNT_ID = "";
process.env.SECRET = "";
process.env.NODE_ENV = "test";