xzwebx-httpfilter 2.2.5 → 2.2.6

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.
Files changed (2) hide show
  1. package/HttpFilter.js +1 -1
  2. package/package.json +1 -1
package/HttpFilter.js CHANGED
@@ -24,7 +24,7 @@ Fun.SetRoutes = function(app, express, projectPath) {
24
24
  for (let subUri in ModuleInterfaceMap[module.id]) {
25
25
  for (let method in ModuleInterfaceMap[module.id][subUri]) {
26
26
  let api = ModuleInterfaceMap[module.id][subUri][method]
27
- let dirname = Path.join(projectPath, '/impls/' + module.filePath + '.js')
27
+ let dirname = Path.join(projectPath, '../impls/' + module.filePath + '.js')
28
28
  if (Fs.existsSync(dirname)) {
29
29
  ModuleHandle = require(dirname)
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xzwebx-httpfilter",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "main": "HttpFilter.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"