Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
fix: prefix github username environment variable (#31)
Browse files Browse the repository at this point in the history
Without this, the variable is never loaded during build, and will always fall back to `byCedric` otherwise.
  • Loading branch information
byCedric authored Oct 14, 2018
1 parent 6fb0e49 commit 80a959a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createInstance } from 'react-async';
/**
* The GitHub username to fetch information from.
*/
export const username = process.env.GITHUB_USERNAME || 'byCedric';
export const username = process.env.REACT_APP_GITHUB_USERNAME || 'byCedric';

/**
* Fetch the user information from the GitHub API.
Expand Down

0 comments on commit 80a959a

Please sign in to comment.