From 76f17246992dca2c00e14037690bd73ca403b7f1 Mon Sep 17 00:00:00 2001 From: Albert Suarez Date: Sun, 6 Oct 2019 12:02:44 +0200 Subject: [PATCH] Changed API IP for being in production --- client/src/service/Service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/service/Service.ts b/client/src/service/Service.ts index 997460f..9498411 100644 --- a/client/src/service/Service.ts +++ b/client/src/service/Service.ts @@ -8,7 +8,7 @@ export default class Service implements IService { return new Promise((resolve,reject)=>{ let headers = new Headers(); - fetch("http://localhost:8084/user?github_user="+username,{ + fetch("http://134.209.244.212:8084/user?github_user="+username,{ headers: headers, method: 'GET', }) @@ -29,7 +29,7 @@ export default class Service implements IService { return new Promise((resolve,reject)=>{ let headers = new Headers(); - fetch("http://localhost:8084/spotify/login",{ + fetch("http://134.209.244.212:8084/spotify/login",{ headers: headers, method: 'GET', }) @@ -50,7 +50,7 @@ export default class Service implements IService { return new Promise((resolve,reject)=>{ let headers = new Headers(); - fetch("http://localhost:8084/spotify/playlist?code="+code+"&github_user="+username,{ + fetch("http://134.209.244.212:8084/spotify/playlist?code="+code+"&github_user="+username,{ headers: headers, method: 'GET', })