1efd10f81f
- Go backend (single binary) with embedded Svelte frontend - JSON-per-game storage (no database) - .jsdos bundle creation on upload - Dark phosphor-green theme (#33FF33) - js-dos v8 emulator integration - Sockdrive support for games >80MB - IGDB placeholder for future artwork scraping - Docker deployment ready
10 lines
184 B
JavaScript
10 lines
184 B
JavaScript
/** Simple hash-based router for SPA. */
|
|
|
|
export function push(path) {
|
|
window.location.hash = "#" + path;
|
|
}
|
|
|
|
export function replace(path) {
|
|
window.location.replace("#" + path);
|
|
}
|