|
|
@@ -1,4 +1,5 @@
|
|
1
|
|
-const Dotenv = require('dotenv')
|
|
|
1
|
+const Dotenv = require('dotenv').config({path: './server/.env'})
|
|
|
2
|
+// const Dotenv = require('dotenv')
|
|
2
|
3
|
const Confidence = require('@hapipal/confidence')
|
|
3
|
4
|
const Inert = require('@hapi/inert')
|
|
4
|
5
|
const Vision = require('@hapi/vision')
|
|
|
@@ -6,7 +7,8 @@ const Schwifty = require('@hapipal/schwifty')
|
|
6
|
7
|
const HapiSwagger = require('hapi-swagger')
|
|
7
|
8
|
|
|
8
|
9
|
/** Pull .env into process.env */
|
|
9
|
|
-Dotenv.config({ path: `${__dirname}/../.env` })
|
|
|
10
|
+// Dotenv.config({ path: `${__dirname}/../.env` })
|
|
|
11
|
+// Dotenv.config({ path: `${__dirname}/../.env` })
|
|
10
|
12
|
|
|
11
|
13
|
/** Glue manifest as a confidence store */
|
|
12
|
14
|
module.exports = new Confidence.Store({
|