From b08d5f07e7f1fa2596ea1e94ee1832069b182eec Mon Sep 17 00:00:00 2001 From: Mathilde Hertaas <maimh@stud.ntnu.no> Date: Thu, 6 Mar 2025 20:44:05 +0100 Subject: [PATCH] fixed wrong pathway in status endpoint --- handelers/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handelers/constants.go b/handelers/constants.go index 196e273..eab88b5 100644 --- a/handelers/constants.go +++ b/handelers/constants.go @@ -4,7 +4,7 @@ package handelers const HOMEPAGE_DEFAULT = "http://localhost:8080" const INFO_DEFAULT = "/countryinfo/v1/info/" const POPULATION_DEFAULT = "/countryinfo/v1/population/" -const STATUS_DEFAULT = "/status/" +const STATUS_DEFAULT = "/countryinfo/v1/status/" const SLASH_DEFAULT = "/" //ERRORS -- GitLab