Skip to content

Commit ce10073

Browse files
committed
Moved starter template down to local.html
1 parent 748ed9a commit ce10073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
maplibregl.addProtocol("pmtiles", protocol.tile);
3535

3636
// Load and modify the style to use local PMTiles
37-
fetch('styles/style.json')
37+
fetch('../styles/style.json')
3838
.then(response => response.json())
3939
.then(style => {
4040
// Replace the source URL with the local PMTiles file
4141
style.sources.protomaps = {
4242
type: "vector",
43-
url: "pmtiles://tiles/monaco.pmtiles",
43+
url: "pmtiles://../tiles/monaco.pmtiles",
4444
attribution: style.sources.protomaps.attribution
4545
};
4646

0 commit comments

Comments
 (0)