Skip to content

Commit

Permalink
fix: use instance_env
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Dec 12, 2023
1 parent df65489 commit 2d74008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function query(api_input: string[]) {
ci: 'https://nodenorm.ci.transltr.io/1.3/get_normalized_nodes',
test: 'https://nodenorm.test.transltr.io/1.3/get_normalized_nodes',
prod: 'https://nodenorm.transltr.io/1.3/get_normalized_nodes',
}[process.env.NODE_ENV ?? 'prod'];
}[process.env.INSTANCE_ENV ?? 'prod'];

const chunked_input = _.chunk(api_input, 1000);
try {
Expand Down

0 comments on commit 2d74008

Please sign in to comment.