Add Jenkins CI pipeline and Node.js automated tests
startup-product-gitea-ci/pipeline/head This commit looks good
startup-product-gitea-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
function getHealthStatus(databaseConnected) {
|
||||
return {
|
||||
status: databaseConnected ? "healthy" : "unhealthy",
|
||||
database: databaseConnected ? "connected" : "disconnected"
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = { getHealthStatus };
|
||||
Reference in New Issue
Block a user