updating aws sdk to v3 - createPost now working
This commit is contained in:
@@ -11,7 +11,7 @@ import http from 'http';
|
||||
import mongoose from 'mongoose';
|
||||
import app from '../app.js';
|
||||
const debug = debugLib('api:server');
|
||||
dotenv.config({path: 'bin/.env'});
|
||||
dotenv.config({path: '.env'});
|
||||
|
||||
mongoose
|
||||
.connect(process.env.DB_CONNECTION).then(() => console.log('DB connection successful!'));
|
||||
|
||||
Reference in New Issue
Block a user