@polylith/server 0.1.24 → 0.1.25

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/PolylithServer.js CHANGED
@@ -22,7 +22,7 @@ export class PolylithServer {
22
22
  for (let app of apps) {
23
23
  var router = express.Router({mergeParams: true});
24
24
 
25
- var success = await app.router(router);
25
+ var success = await app.router(this.app, router);
26
26
  if (success) {
27
27
  this.app.use(app.getRouterRoot(), router);
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polylith/server",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "This is the basic polylith http/https server. It is build on top of Express.js",
5
5
  "main": "index.js",
6
6
  "repository": {