summaryrefslogtreecommitdiffstats
path: root/templates/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.js')
-rw-r--r--templates/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.js b/templates/index.js
index a7cfd90..f7550c0 100644
--- a/templates/index.js
+++ b/templates/index.js
@@ -30,7 +30,7 @@ async function postShortestPath(event){
res = await res.json()
for (edge of res.edges) {
- console.log(edge.path)
+ console.log(edge)
L.polyline(edge.path, {
color: edge.color
}).addTo(map)