Skip to content

Commit

Permalink
refactor: not print api key when build
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-2369 authored and actions-user committed Sep 16, 2024
1 parent 7d4907a commit aa2f37e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/config/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ function getApiKey(keys?: string) {
const randomIndex = Math.floor(Math.random() * apiKeys.length);
const apiKey = apiKeys[randomIndex];
if (apiKey) {
console.log(
`[Server Config] using ${randomIndex + 1} of ${
apiKeys.length
} api key - ${apiKey}`,
);
// console.log(
// `[Server Config] using ${randomIndex + 1} of ${
// apiKeys.length
// } api key - ${apiKey}`,
// );
}

return apiKey;
Expand Down

0 comments on commit aa2f37e

Please sign in to comment.