spice-js 2.6.32 → 2.6.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -98,7 +98,9 @@ var cors = require("kcors");
98
98
 
99
99
  global.spice = {};
100
100
 
101
- require("dotenv").config();
101
+ require("dotenv").config({
102
+ path: path.resolve("./")
103
+ });
102
104
 
103
105
  var Validate = require("koa-validation");
104
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spice-js",
3
- "version": "2.6.32",
3
+ "version": "2.6.33",
4
4
  "description": "spice",
5
5
  "main": "build/index.js",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -4,7 +4,7 @@ var path = require("path");
4
4
  const cors = require("kcors");
5
5
  global.spice = {};
6
6
 
7
- require("dotenv").config();
7
+ require("dotenv").config({ path: path.resolve("./") });
8
8
 
9
9
  var Validate = require("koa-validation");
10
10
  const koaBody = require("koa-body");