From ea91fde303f1b20f5eab8d54a41ad2601c188291 Mon Sep 17 00:00:00 2001 From: louis-antoine-etsmtl <61054719+louis-antoine-etsmtl@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:18:57 -0400 Subject: [PATCH 1/2] Update ApiService.tsx --- client/src/services/ApiService.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/services/ApiService.tsx b/client/src/services/ApiService.tsx index 76adf23..12b6bf5 100644 --- a/client/src/services/ApiService.tsx +++ b/client/src/services/ApiService.tsx @@ -14,7 +14,7 @@ class ApiService { } private constructRequestUrl(endpoint: string): string { - return `${this.BASE_URL}/api${endpoint}`; + return `http://${this.BASE_URL}/api${endpoint}`; } private constructRequestHeaders(): any { From aa6fb5e8f423cacf71f0cddfddddde24964187e0 Mon Sep 17 00:00:00 2001 From: louis-antoine-etsmtl <61054719+louis-antoine-etsmtl@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:19:34 -0400 Subject: [PATCH 2/2] Update ApiService.tsx --- client/src/services/ApiService.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/services/ApiService.tsx b/client/src/services/ApiService.tsx index 12b6bf5..76adf23 100644 --- a/client/src/services/ApiService.tsx +++ b/client/src/services/ApiService.tsx @@ -14,7 +14,7 @@ class ApiService { } private constructRequestUrl(endpoint: string): string { - return `http://${this.BASE_URL}/api${endpoint}`; + return `${this.BASE_URL}/api${endpoint}`; } private constructRequestHeaders(): any {