Skip to content

Commit

Permalink
[ft #161723591] implmenting client login integration with API
Browse files Browse the repository at this point in the history
  • Loading branch information
Easybuoy committed Nov 6, 2018
1 parent dfd3482 commit 1bf7417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/js/middleware.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
this.url = 'http://localhost:3000/';
this.url = 'http://localhost:3000';
const request = (url, method, payload) => {
return fetch(`${this.url}api/v1/auth/login`, {
return fetch(`${this.url}${url}`, {
method,
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 1bf7417

Please sign in to comment.