Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Jul 11, 2024
1 parent 4c47504 commit eaf2a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as ChannelService from '@channel.io/channel-web-sdk-loader';
ChannelService.loadScript();

ChannelService.boot({
pluginKey: `${process.env.REACT_APP_CHANNEL_TALK_PLUGIN_KEY}`,
pluginKey: `${process.env.CHANNEL_TALK_PLUGIN_KEY}`, // fill your plugin key
});

const root = CreateDOM.createRoot(document.getElementById('root') as HTMLElement);
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = {
'process.env.REACT_APP_AUTH_URL': JSON.stringify(process.env.REACT_APP_AUTH_URL),
'process.env.REACT_APP_APPLY_URL': JSON.stringify(process.env.REACT_APP_APPLY_URL),
'process.env.REACT_APP_ADMIN_URL': JSON.stringify(process.env.REACT_APP_ADMIN_URL),
'process.env.REACT_APP_CHANNEL_TALK_PLUGIN_KEY': JSON.stringify(process.env.REACT_APP_CHANNEL_TALK_PLUGIN_KEY),
'process.env.CHANNEL_TALK_PLUGIN_KEY': JSON.stringify(process.env.CHANNEL_TALK_PLUGIN_KEY),
}),
new webpack.ProvidePlugin({
process: 'process/browser.js',
Expand Down

0 comments on commit eaf2a20

Please sign in to comment.