We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 052212e commit 1229c5aCopy full SHA for 1229c5a
env.ts
@@ -0,0 +1,4 @@
1
+import { config } from 'dotenv';
2
+
3
+const { parsed } = config();
4
+export default parsed;
index.ts
@@ -1,5 +1,6 @@
import mongoose from 'mongoose';
import Promise from 'bluebird';
+import './env';
import app from './app';
5
6
mongoose.Promise = Promise;
0 commit comments