Skip to content

Commit

Permalink
testing fix for issue #77
Browse files Browse the repository at this point in the history
  • Loading branch information
ericand committed Dec 15, 2018
1 parent d6f207d commit 360ae96
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/src/js/lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Client.request = function(url, args) {
// trim leading slash from URL
url = (url[0] === '/') ? url.substring(1) : url;

return window.fetch(`/api/${url}`, args)
return window.fetch(`api/${url}`, args)
.then(handleRequestErrors)
.then(parseJSON)
.then(parseData)
Expand Down
28 changes: 21 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 360ae96

Please sign in to comment.