diff --git a/app/server.js b/app/server.js index 0880a62ee4..1ed2a55d23 100644 --- a/app/server.js +++ b/app/server.js @@ -1,5 +1,7 @@ 'use strict' +require('dotenv').config() + const Hapi = require('@hapi/hapi') const ServerConfig = require('../config/server.config.js') diff --git a/index.js b/index.js index 1ee8782aa5..426f3e547f 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,5 @@ 'use strict' -require('dotenv').config() - const { start } = require('./app/server') start()