Skip to content

Commit

Permalink
apiURL bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahiiia92 committed Mar 19, 2021
1 parent 8d03a7d commit 3a426c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/recipes/recipes.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class RecipesService {
}

getRecipeList(): Observable<any> {
return this.http.get(`${this.baseUrl}/`);
return this.http.get(`${this.baseUrl}`);
}

createRecipe(recipe: Object): Observable<Object> {
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const environment = {
production: false,
apiUrl: 'https://springcookbook21.herokuapp.com/',
apiUrl: 'https://springcookbook21.herokuapp.com',
};

0 comments on commit 3a426c1

Please sign in to comment.