Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/src/app/components/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const LoginForm = props => (
method='GET'
onSubmit={ () => sessionStorage.setItem('target_repo', props.targetRepo) }
>
<input type="hidden" name="client_id" value="20bb9802a9e034bca42c" />
<input type="hidden" name="client_id" value="331da003a5d2619540a0" />
<input type="hidden" name="state" value={ props.state } />
<input type="hidden" name="scope" value="public_repo read:user" />
<label htmlFor="target-repo">Enter the full URL of the GitHub repo you want to add a publiccode.yml file to</label>
Expand Down
2 changes: 1 addition & 1 deletion client/src/app/utils/GithubClient.js
Original file line number Diff line number Diff line change
@@ -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'

Expand Down