Skip to content

Commit

Permalink
Added support for proxy (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sefirosweb authored Nov 27, 2024
1 parent f24ea15 commit 02b74ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ require('three/examples/js/controls/OrbitControls')
const { Viewer, Entity } = require('../viewer')

const io = require('socket.io-client')
const socket = io()
const socket = io({
path: window.location.pathname + 'socket.io'
})

let firstPositionUpdate = true

Expand Down

0 comments on commit 02b74ff

Please sign in to comment.