Skip to content

Commit 0686b14

Browse files
authored
Fix URL to content data
1 parent 3c46afe commit 0686b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: assets/content-explorer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const listContainer = document.getElementById('list-container');
55
const COMPENSATION_TEXTS = { free: 'Download (free)', donation: 'Download (donation-ware)', commercial: 'Buy (commercial)' };
66

7-
const _routes = await fetch('https://static.openrails.org/content/routes.json').catch((e) => {
7+
const _routes = await fetch('https://static.openrails.org/api/content/routes.json').catch((e) => {
88
listContainer.innerHTML = `
99
<div style="text-align: center; color: red;">
1010
<strong>Sorry, there was an error while loading content.</strong>

0 commit comments

Comments
 (0)