From f24ea1572d10953eab4a7181a61ee45d310d680e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:53:07 +0100 Subject: [PATCH 1/2] Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows (#433) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.1.7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v4.1.7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 904d54a1..8c16f0ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: ref: 'gh-pages' persist-credentials: false - name: Download build - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.1.7 with: name: test_picture - name: Create commits From 02b74ff8b84263c49b61d38626dedc7b18afd61a Mon Sep 17 00:00:00 2001 From: sefirosweb <20754836+sefirosweb@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:54:30 +0100 Subject: [PATCH 2/2] Added support for proxy (#429) --- lib/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 706772dd..baf11fe9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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