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.
- package/HttpFilter.js +1 -1
- 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, '
|
|
27
|
+
let dirname = Path.join(projectPath, '../impls/' + module.filePath + '.js')
|
|
28
28
|
if (Fs.existsSync(dirname)) {
|
|
29
29
|
ModuleHandle = require(dirname)
|
|
30
30
|
}
|