Skip to content

Commit

Permalink
update split char
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Mar 10, 2022
1 parent 7cfcb46 commit 5c4165c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const initTokenFromEnv = async () => {
process.exit(-1);
}

const tokenList = envTokenString.split(",");
const tokenList = envTokenString.split(/\r?\n/);
// Call GitHub API to check token usability
for (const token of tokenList) {
try {
Expand Down

0 comments on commit 5c4165c

Please sign in to comment.