Skip to content

Commit

Permalink
Update prebuild:basic-react.js (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
namidan authored Aug 10, 2024
1 parent 12831f6 commit c882e2f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/prebuild:basic-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ try {
let code = fs.readFileSync(specificFilePath, 'utf-8');
code = code.replace('YOUR_APP_PLATFORM_ID', `${APP_PLATFORM_ID}`);
code = code.replace('YOUR_PLACEMENT_LABEL', `${APP_PAYWALL_LABEL}`);
code = code.replace('namiCommands: []', `namiCommands: ["useStagingAPI"]`);
fs.writeFileSync(specificFilePath, code);

console.log(`Injected APP_PLATFORM_ID and APP_PAYWALL_LABEL into ${specificFilePath}`);
Expand Down

0 comments on commit c882e2f

Please sign in to comment.