diff --git a/templates/cave.html b/templates/cave.html
index a0d98c2..5e8131b 100644
--- a/templates/cave.html
+++ b/templates/cave.html
@@ -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;