1 parent 9675451 commit d8cb591Copy full SHA for d8cb591
1 file changed
via-ui/src/components/SwissMap.vue
@@ -28,7 +28,7 @@ onMounted(() => {
28
.attr('width', '100%')
29
.attr('height', '100%')
30
31
- d3.json('/switzerland-map.json').then((data: any) => {
+ d3.json('switzerland-map.json').then((data: any) => {
32
const key = Object.keys(data.objects)[0] as string
33
const geoData = topojson.feature(data, data.objects[key]) as any
34
0 commit comments