Skip to content

Commit

Permalink
addressed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandana-NNR committed Oct 30, 2024
1 parent 9e0af70 commit a935680
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export default class App extends Base {
process.env.SDKS_AVAILABLE = [...CONSTANTS.defaultSDKs, ...CONSTANTS.additionalSDKs];

// Set the pubSub URL if present
process.env.PUB_SUB_URL = new URLSearchParams(window.location.search).get('pubSubUrl');
process.env.PUB_SUB_URL = new URLSearchParams(appUrl.search).get('pubSubUrl');
process.env.PUB_SUB_TOKEN = new URLSearchParams(appUrl.search).get('pubSubToken');
process.env.MACADDRESS = new URLSearchParams(appUrl.search).get('macaddress');
process.env.CURRENT_APPID = new URLSearchParams(appUrl.search).get('appId');
process.env.APP_TYPE = new URLSearchParams(appUrl.search).get('appType');
Expand Down

0 comments on commit a935680

Please sign in to comment.