File tree Expand file tree Collapse file tree
packages/shared/src/constants Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export const connect_websocket = async (): Promise<void> => {
7676 storage [ 'browser-profile-name' ] as string | undefined
7777 ) ?. trim ( )
7878
79- let ws_url = `ws://localhost:${ DEFAULT_PORT } ?token=${ SECURITY_TOKENS . BROWSERS } &version=${ version } &user_agent=${ encodeURIComponent ( user_agent ) } `
79+ let ws_url = `ws://localhost:${ DEFAULT_PORT } ?token=${ SECURITY_TOKENS . BROWSER } &version=${ version } &user_agent=${ encodeURIComponent ( user_agent ) } `
8080 if ( profile_name ) {
8181 ws_url += `&profile_name=${ encodeURIComponent ( profile_name ) } `
8282 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
1111 WebSocketMessage
1212} from '@shared/types/websocket-message'
1313import { CHATBOTS } from '@shared/constants/chatbots'
14- import { DEFAULT_PORT , SECURITY_TOKENS } from '@/constants/websocket'
14+ import { DEFAULT_PORT , SECURITY_TOKENS } from '@shared /constants/websocket'
1515import { Logger } from '@shared/utils/logger'
1616import { WebConfiguration } from '@shared/types/web-configuration'
1717import { ConfigWebConfigurationFormat } from '@/utils/web-configuration-format-converters'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as process from 'process'
33// eslint-disable-next-line @typescript-eslint/no-var-requires
44const WebSocket = require ( 'ws' )
55
6- import { DEFAULT_PORT , SECURITY_TOKENS } from '.. /constants/websocket'
6+ import { DEFAULT_PORT , SECURITY_TOKENS } from '@shared /constants/websocket'
77
88interface BrowserClient {
99 ws : WebSocket
File renamed without changes.
You can’t perform that action at this time.
0 commit comments