@@ -12,7 +12,7 @@ class RecipeProvider {
1212 UserRepository ().getCurrentAppAuthentication ();
1313
1414 final String url =
15- "${appAuthentication .server }/apps/cookbook/api/v1/recipes/$id " ;
15+ "${appAuthentication .server }/index.php/ apps/cookbook/api/v1/recipes/$id " ;
1616 // Parse categories
1717 try {
1818 String contents = await Network ().get (url);
@@ -29,7 +29,7 @@ class RecipeProvider {
2929
3030 try {
3131 final String url =
32- "${appAuthentication .server }/apps/cookbook/api/v1/recipes/${recipe .id }" ;
32+ "${appAuthentication .server }/index.php/ apps/cookbook/api/v1/recipes/${recipe .id }" ;
3333 var response = await client.put (url,
3434 data: recipe.toJson (),
3535 options: new Options (
@@ -50,7 +50,7 @@ class RecipeProvider {
5050
5151 try {
5252 var response = await client.post (
53- "${appAuthentication .server }/apps/cookbook/api/v1/recipes" ,
53+ "${appAuthentication .server }/index.php/ apps/cookbook/api/v1/recipes" ,
5454 data: recipe.toJson (),
5555 options: new Options (
5656 contentType: "application/json;charset=UTF-8" ,
@@ -68,7 +68,7 @@ class RecipeProvider {
6868
6969 try {
7070 var response = await client.post (
71- "${appAuthentication .server }/apps/cookbook/api/v1/import" ,
71+ "${appAuthentication .server }/index.php/ apps/cookbook/api/v1/import" ,
7272 data: {"url" : url},
7373 options: new Options (
7474 contentType: "application/json;charset=UTF-8" ,
0 commit comments