From 4e9ad8711e689d79460368084d7849e24aa13209 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:52:43 +0000 Subject: [PATCH] Fixing security issue found by Pensar: Unencrypted request over HTTP detected. --- src/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.ts b/src/server/index.ts index 63526ac..dbe8b64 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -6,7 +6,7 @@ const delay = () => { } const ping = async () => { - let response = await fetch("http://localhost:8080/health"); + let response = await fetch("https://localhost:8080/health"); if(response.status !== 200) { throw new Error("Error loading model"); }