From c7494fe3794532773078c3d0ec2eecb4e1db28c2 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Wed, 7 Jun 2023 23:49:19 +0100 Subject: [PATCH] bug fix --- templates/cave.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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;