Skip to content

Commit

Permalink
url fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziqian Ge committed Jun 23, 2019
1 parent e2d1b34 commit b1c09b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/RestaurantService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit b1c09b1

Please sign in to comment.