Skip to content

Commit

Permalink
update url params
Browse files Browse the repository at this point in the history
  • Loading branch information
PreethiMaai committed Oct 25, 2024
1 parent 6725d33 commit b184c95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ export default class App extends Base {
process.env.PUB_SUB_URL = new URLSearchParams(window.location.search).get('pubSubUrl');
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');
process.env.PUBSUB_SUBSCRIBE_TOPIC_SUFFIX = new URLSearchParams(appUrl.search).get('pubSubSubscribeSuffix');
process.env.PUBSUB_PUBLISH_TOPIC_SUFFIX = new URLSearchParams(appUrl.search).get('pubSubPublishSuffix');

if (platform) {
process.env.PLATFORM = platform;
Expand Down

0 comments on commit b184c95

Please sign in to comment.