|
|
@ -1,8 +1,8 @@ |
|
|
|
import { Socket } from 'phoenix' |
|
|
|
import { Socket } from 'phoenix' |
|
|
|
import { locale } from './locale' |
|
|
|
import { locale } from './locale' |
|
|
|
|
|
|
|
|
|
|
|
let websocketRootUrl = process.env.SOCKET_ROOT; |
|
|
|
let websocketRootUrl = process.env.SOCKET_ROOT |
|
|
|
if (!websocketRootUrl || websocketRootUrl == '/') { |
|
|
|
if (!websocketRootUrl || websocketRootUrl === '/') { |
|
|
|
websocketRootUrl = '' |
|
|
|
websocketRootUrl = '' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|