Skip to content

Commit

Permalink
fix(#440): set archiveUrl in viewer config
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRichel committed Mar 8, 2024
1 parent dcb78bf commit f4e0034
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/model-viewer/ModelViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default {
const loading = ref(false);
const apiUrl = ENV.VUE_APP_API_BASE_URL;
const archiveUrl = ENV.VUE_APP_ARCHIVE_BASE_URL;
const spaceID = +route.params.spaceID;
const projectID = +route.params.projectID;
const modelIDs =
Expand Down Expand Up @@ -101,6 +102,7 @@ export default {
bimdataViewer = makeBIMDataViewer({
api: {
apiUrl,
archiveUrl,
accessToken: accessToken.value,
cloudId: spaceID,
projectId: projectID,
Expand Down

0 comments on commit f4e0034

Please sign in to comment.