Skip to content

Commit 7578cc4

Browse files
committed
add env
1 parent e5dcdad commit 7578cc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fetch.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ const https = require("https");
33
process = require("process");
44
require("dotenv").config();
55

6-
const GITHUB_TOKEN = "ghp_YourGitHubTokenHere";
7-
const GITHUB_USERNAME = "pr862";
8-
const USE_GITHUB_DATA = "true";
6+
const GITHUB_TOKEN = process.env.REACT_APP_GITHUB_TOKEN;
7+
const GITHUB_USERNAME = process.env.GITHUB_USERNAME;
8+
const USE_GITHUB_DATA = process.env.USE_GITHUB_DATA;
99
const MEDIUM_USERNAME = process.env.MEDIUM_USERNAME;
1010

1111
const ERR = {

0 commit comments

Comments
 (0)