Skip to content

Commit

Permalink
adding back json request in the api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNoelk committed Feb 23, 2017
1 parent b44098b commit 31e18bb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frontend/modules/common/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ 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',
news: apiUrl + '/news/entry/?format=json',
recipe: apiUrl + '/recipe/recipes/',
recipe: apiUrl + '/recipe/recipes/?format=json',
};

export var measurements = [
Expand Down

0 comments on commit 31e18bb

Please sign in to comment.