From b1c09b19aad85518d2266a3d0ab7cb2b4c1326fc Mon Sep 17 00:00:00 2001 From: Ziqian Ge Date: Sun, 23 Jun 2019 17:23:49 -0400 Subject: [PATCH] url fixed --- src/services/RestaurantService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/RestaurantService.js b/src/services/RestaurantService.js index 9961412..cbd33f8 100644 --- a/src/services/RestaurantService.js +++ b/src/services/RestaurantService.js @@ -14,7 +14,7 @@ class RestaurantService { if (window.location.hostname === "localhost") { // adaption between local ports and on the PaaS server this.url = 'http://' + window.location.hostname + ":" + this.port; } else { - this.url = 'https://webdev-awesome-project-server.herokuapp.com/'; + this.url = 'https://webdev-awesome-project-server.herokuapp.com'; } this.url += '/api'; }