Skip to content

Commit da3db68

Browse files
committed
update links
1 parent e2d0ec2 commit da3db68

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
url = https://github.com/mejrs/wasm-pathfinder
44
[submodule "wasm-pathfinder-data"]
55
path = wasm-pathfinder-data
6-
url = https://github.com/mejrs/wasm-pathfinder-data
6+
url = https://github.com/mejrs/wasm-pathfinder-data

js/layers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ L.Teleports = L.DynamicIcons.extend({
15341534
response.ok ? response.json().then((sheet) => sheet.values) : response.json().then((oopsie) => Promise.reject(new Error(oopsie.error.message)).then(() => { }, console.error))
15351535
);
15361536

1537-
const wateryPromise = fetch(`data_rs3/keyed_watery.json`)
1537+
const wateryPromise = fetch(`https://raw.githubusercontent.com/mejrs/data_rs3/refs/heads/master/keyed_watery.json`)
15381538
.then((response) => (response.ok ? response.json() : Promise.reject(new Error(response.status + " Error fetching " + response.url))))
15391539
.catch(console.error);
15401540

js/main/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,22 @@ void (function (global) {
3939
minZoom: -4,
4040
maxZoom: 4,
4141
doubleClickZoom: false,
42-
baseMaps: "data_rs3/basemaps.json",
42+
baseMaps: "https://raw.githubusercontent.com/mejrs/data_rs3/refs/heads/master/basemaps.json",
4343
loadMapData: true,
4444
showMapBorder: true,
4545
enableUrlLocation: true,
4646
}));
4747

4848
L.control.display
4949
.objects({
50-
folder: "data_rs3",
50+
folder: "https://raw.githubusercontent.com/mejrs/data_rs3/refs/heads/master",
5151
displayLayer: L.objects,
5252
})
5353
.addTo(runescape_map);
5454

5555
L.control.display
5656
.npcs({
57-
folder: "data_rs3",
57+
folder: "https://raw.githubusercontent.com/mejrs/data_rs3/refs/heads/master",
5858
})
5959
.addTo(runescape_map);
6060

0 commit comments

Comments
 (0)