Skip to content

Commit

Permalink
Merge pull request RyanNoelk#142 from RyanNoelk/fix/json-header
Browse files Browse the repository at this point in the history
Adding back json request in the api calls
  • Loading branch information
hermzz authored Feb 23, 2017
2 parents b44098b + 2e460f6 commit 17121af
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/modules/common/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ var apiUrl = apiHost + '/api/v1';

export var serverURLs = {
auth_token: apiUrl + '/accounts/obtain-auth-token/',
browse: apiUrl + '/recipe/recipes/?fields=id,title,pub_date,rating,photo_thumbnail,info',
browse: apiUrl + '/recipe/recipes/?fields=id,title,pub_date,rating,photo_thumbnail,info&format=json',
mini_browse: apiUrl + '/recipe/mini-browse/?format=json',
//create: apiUrl + '/recipe/recipes/',
cuisine: apiUrl + '/recipe_groups/cuisine/',
course: apiUrl + '/recipe_groups/course/',
cuisine: apiUrl + '/recipe_groups/cuisine/?format=json',
course: apiUrl + '/recipe_groups/course/?format=json',
tag: apiUrl + '/recipe_groups/tag/?format=json',
ingredient: apiUrl + '/ingredient/ingredient/?format=json',
direction: apiUrl + '/recipe/direction/?format=json',
Expand Down

0 comments on commit 17121af

Please sign in to comment.