commit | 54630209a8ea2c386ded1a692752f264e8485704 | [log] [tgz] |
---|---|---|
author | Arthi Vezhavendan <arthivez@gmail.com> | Fri Dec 16 11:46:13 2016 -0500 |
committer | Arthi Vezhavendan <arthivez@gmail.com> | Fri Dec 16 11:46:13 2016 -0500 |
tree | 00c1d8589e2738bb185645328441f2c6c73a9975 | |
parent | caa718a3d04d1602150de9b10dd9d7ea2ce193f2 [diff] |
Routing bug fixed
diff --git a/public/store/api.js b/public/store/api.js index 2ca8a89..97c8df9 100644 --- a/public/store/api.js +++ b/public/store/api.js
@@ -21,7 +21,7 @@ export const CALL_API = Symbol('CALL_API'); function callApi(apiOpts) { - const url = API_ROOT + apiOpts.endpoint; + const url = API_ROOT + apiOpts.endpoint + '/'; const method = apiOpts.method || 'GET'; const headers = {};