fix
This commit is contained in:
parent
f24543d50c
commit
cee47510a4
@ -138,12 +138,19 @@ app.get("/", (req, res) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/health", (req, res) => {
|
app.get(["/health", "/fns-receipt-service/health"], (req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
status: "ok"
|
status: "ok"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get("/fns-receipt-service", (req, res) => {
|
||||||
|
res.json({
|
||||||
|
service: "fns-receipt-service",
|
||||||
|
status: "ok"
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
app.get("/health/deep", async (req, res) => {
|
app.get("/health/deep", async (req, res) => {
|
||||||
const result = {
|
const result = {
|
||||||
status: "ok",
|
status: "ok",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user