This commit is contained in:
Martin Green 2023-06-07 23:49:19 +01:00
parent e4112431be
commit c7494fe379

View File

@ -18,8 +18,7 @@
const viewer = new CV2.CaveViewer( 'scene', {
home: '/javascript/CaveView/',
//Wookey old code surveyDirectory: '/expowebcache/3d/',
//Martin old code surveyDirectory: '/cave/3d/',
surveyDirectory: '/',
surveyDirectory: '/cave/3d/',
terrainDirectory: '/loser/surface/terrain/' // cannot work, apache not handling this url
} );
@ -28,8 +27,7 @@
const ui = new CV2.CaveViewUI( viewer );
//Wookey old code: ui.loadCave('{{svx3d}}.3d');
//Martin old code: ui.loadCave('{{ cave }}.3d');
ui.loadCave('{% url "cave3d" cave %}');
ui.loadCave('{{ cave }}.3d');
}
window.onload = onLoad;
</script>