Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
puzansakya committed Mar 2, 2019
1 parent 2e1cdda commit c3c74f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/services/authentication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class AuthenticationService {
}

login(email: string, password: string) {
return this.http.post<any>(`http://localhost:3000/api/v1/user/login`, { email, password })
return this.http.post<any>(`https://medium-puzan.herokuapp.com/api/v1/user/login`, { email, password })
.pipe(map(user => {
// login successful if there's a jwt token in the response
if (user && user.token) {
Expand Down

0 comments on commit c3c74f5

Please sign in to comment.