Skip to content

Commit 981cca0

Browse files
committed
fix(configurator): Use relative path for fetching mode_versions.json
1 parent b391536 commit 981cca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/mode_configurator/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function fetchModes() {
8888
// Function to fetch version metadata
8989
async function fetchVersions() {
9090
try {
91-
const versionsResponse = await fetch('/mode_versions.json'); // Fetch from root relative to public dir
91+
const versionsResponse = await fetch('mode_versions.json'); // Fetch relative to current base path
9292
if (!versionsResponse.ok) {
9393
throw new Error(`HTTP error fetching versions! status: ${versionsResponse.status}`);
9494
}

0 commit comments

Comments
 (0)