@boomerang-io/webapp-spa-server 1.3.3 → 1.3.4-beta.0
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/index.js +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -75,7 +75,10 @@ function createBoomerangServer({
|
|
|
75
75
|
|
|
76
76
|
// Initialize healthchecker and add routes
|
|
77
77
|
const healthchecker = new health.HealthChecker();
|
|
78
|
-
app.use("/health", health.LivenessEndpoint(healthchecker)
|
|
78
|
+
app.use("/health", health.LivenessEndpoint(healthchecker).then(middleware => {
|
|
79
|
+
logger.info("Testing");
|
|
80
|
+
logger.info(middleware);
|
|
81
|
+
}));
|
|
79
82
|
app.use("/ready", health.ReadinessEndpoint(healthchecker));
|
|
80
83
|
|
|
81
84
|
// Create endpoint for the app serve static assets
|
package/package.json
CHANGED