🐛 fix(tutorial): Return latest version in case of fetch error

This commit is contained in:
web
2025-07-11 01:56:42 -07:00
parent 7f81de31ab
commit 1fb305e7a1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ async function getVersionPath() {
.then((version) => `${BASE_URL}@${version}`)
.catch((error) => {
console.warn('Error fetching the version:', error);
return BASE_URL;
return `${BASE_URL}@latest`;
});
}