fullstx 1.0.2 → 1.0.3

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.
@@ -23,7 +23,7 @@ module.exports = function setupUtils(app) {
23
23
  ].forEach((name) => {
24
24
  Object.defineProperty(app, name, {
25
25
  get() {
26
- return require('../middlewares/' + name);
26
+ return require('../middlewares/' + name + '.js');
27
27
  }
28
28
  });
29
29
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullstx",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A high-performance, custom backend framework with built-in hot-reload.",
5
5
  "author": "fullstx developer",
6
6
  "main": "./dist/index.js",
@@ -80,4 +80,4 @@
80
80
  "optional": true
81
81
  }
82
82
  }
83
- }
83
+ }