mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-27 19:25:03 +00:00
Consolidate .env files. More work on dev containers.
This commit is contained in:
parent
2a959f354c
commit
3773d659cc
17 changed files with 137 additions and 106 deletions
|
@ -1,8 +1,8 @@
|
|||
import { connect } from "../data/db";
|
||||
import { setIsAPI } from "../globals";
|
||||
import "./loadEnv";
|
||||
import { apiEnv } from "./loadApiEnv";
|
||||
|
||||
if (!process.env.KEY) {
|
||||
if (!apiEnv.KEY) {
|
||||
// tslint:disable-next-line:no-console
|
||||
console.error("Project root .env with KEY is required!");
|
||||
process.exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue