mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: rename offline to web
This commit is contained in:
@@ -18,7 +18,7 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
|
||||
<ChatWidget
|
||||
{...{
|
||||
apiUrl: process.env.REACT_APP_WIDGET_API_URL || 'http://localhost:4000',
|
||||
channel: process.env.REACT_APP_WIDGET_CHANNEL || 'offline-channel',
|
||||
channel: process.env.REACT_APP_WIDGET_CHANNEL || 'web-channel',
|
||||
token: process.env.REACT_APP_WIDGET_TOKEN || 'token123',
|
||||
language: 'en',
|
||||
}}
|
||||
|
||||
@@ -82,7 +82,7 @@ export type TChannelData = {
|
||||
};
|
||||
|
||||
export type TRequestSession = {
|
||||
offline?: {
|
||||
web?: {
|
||||
profile: ISubscriber;
|
||||
isSocket: boolean;
|
||||
// @TODO : not sure why we added messageQuery (long pooling ?)
|
||||
|
||||
Reference in New Issue
Block a user