feat: migrate from Next.js to Vite and React Router, updating routing and environment variable handling

This commit is contained in:
HouYunFei
2026-06-26 16:41:32 +08:00
parent ef7a218ba6
commit e635ec6908
24 changed files with 314 additions and 238 deletions
+1 -5
View File
@@ -7,11 +7,7 @@ const latestVersionUrl = "https://raw.githubusercontent.com/basketikun/infinite-
const latestChangelogUrl = "https://raw.githubusercontent.com/basketikun/infinite-canvas/main/CHANGELOG.md";
function readLocalReleases(): ReleaseInfo[] {
try {
return JSON.parse(process.env.NEXT_PUBLIC_APP_RELEASES || "[]");
} catch {
return [];
}
return __APP_RELEASES__ || [];
}
function toVersionParts(version: string) {