diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.js b/templates/index.js index f7550c0..3268b8b 100644 --- a/templates/index.js +++ b/templates/index.js @@ -29,7 +29,7 @@ async function postShortestPath(event){ res = await res.json() - for (edge of res.edges) { + for (const edge of res.edges) { console.log(edge) L.polyline(edge.path, { color: edge.color |
