fix(viewer): wraps up #218

and removes expired token. note: only public streams will work in the viewer example app
This commit is contained in:
Dimitrie Stefanescu
2021-05-10 22:41:43 +01:00
parent 2e72408d76
commit c836e531ee
+1 -4
View File
@@ -9,12 +9,9 @@ window.addEventListener( 'load', () => {
v.onWindowResize()
} )
// const token = 'e844747dc6f6b0b5c7d5fbd82d66de6e9529531d75'
const token = '076c3a33baf823b31de5d8400459d6fe57962f7966'
window.loadData = async function LoadData( url ) {
url = url || document.getElementById( 'objectUrlInput' ).value
await v.loadObject( url, token )
await v.loadObject( url )
}
v.on( 'select', objects => {