From 08bf6ab927f60d9239e7ed5af127e9ef1b317984 Mon Sep 17 00:00:00 2001 From: pasqualedevita <> Date: Thu, 29 Oct 2020 14:11:19 +0100 Subject: [PATCH] removed authentication and starndard endpoint for health check --- Info/function.json | 4 ++-- Info/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Info/function.json b/Info/function.json index 797d4d01..092cd8ab 100644 --- a/Info/function.json +++ b/Info/function.json @@ -1,11 +1,11 @@ { "bindings": [ { - "authLevel": "function", + "authLevel": "anonymous", "type": "httpTrigger", "direction": "in", "name": "req", - "route": "adm/info", + "route": "info", "methods": [ "get" ] diff --git a/Info/index.ts b/Info/index.ts index da55576a..e6547e95 100644 --- a/Info/index.ts +++ b/Info/index.ts @@ -10,7 +10,7 @@ const app = express(); secureExpressApp(app); // Add express route -app.get("/adm/info", Info()); +app.get("/info", Info()); const azureFunctionHandler = createAzureFunctionHandler(app);