Skip to content

Commit

Permalink
[Task] #123, repair prod testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Sep 9, 2024
1 parent 0ea84b9 commit 7ae7ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testData/createTestData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dotenv.config();

const MODE = process.env.MODE;
const SERVER = MODE == "PROD" ? process.env.ROOT : 'http://localhost:80';
const environmentKey = process.env.KEYA as string;
const environmentKey = process.env.KEY as string ;
const key = MODE == "PROD" ? Buffer.from(environmentKey, 'base64').toString('utf-8') : "test";
console.log("Sending Test Data to: " + SERVER);

Expand Down

0 comments on commit 7ae7ac0

Please sign in to comment.