From a5afcc90671e8a4217727f6ce35e985ee37f2c9e Mon Sep 17 00:00:00 2001 From: Giovanni Sce Date: Tue, 6 Jul 2021 18:42:22 -0400 Subject: [PATCH] Changes to run locally. --- client/src/app/components/LoginForm.js | 2 +- client/src/app/utils/GithubClient.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/components/LoginForm.js b/client/src/app/components/LoginForm.js index 276f9ba..06fbd94 100644 --- a/client/src/app/components/LoginForm.js +++ b/client/src/app/components/LoginForm.js @@ -6,7 +6,7 @@ const LoginForm = props => ( method='GET' onSubmit={ () => sessionStorage.setItem('target_repo', props.targetRepo) } > - + diff --git a/client/src/app/utils/GithubClient.js b/client/src/app/utils/GithubClient.js index 4e7fe48..4d0db73 100644 --- a/client/src/app/utils/GithubClient.js +++ b/client/src/app/utils/GithubClient.js @@ -1,6 +1,6 @@ function GithubClient(token) { // TODO: make this be based on the .env.prod config that webpack.config.js grabs - const TOKEN_SERVER = 'https://us-central1-openphl-1177.cloudfunctions.net/token' + const TOKEN_SERVER = 'http://localhost:5000/token' let access_token = token const TARGET_BRANCH = 'Publiccode-Pusher/add-publiccode-yaml'