Commit 76f8d177 authored by Anton's avatar Anton

Merge branch 'master' of

parents f2cea619 82a2ddcd
Pipeline #30435 passed with stage
in 1 minute and 17 seconds
import VueSocketIO from ''
export default ({ Vue }) => {
if (!process.env.SOCKETS_HOST) return
if (!window.SOCKETS_HOST && !process.env.SOCKETS_HOST) return
Vue.use(new VueSocketIO({
debug: true,
connection: `${process.env.SOCKETS_HOST}`,
connection: `${process.env.SOCKETS_HOST || window.SOCKETS_HOST}`,
query: {
token: localStorage.getItem('access_token')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment