adds static adapter, removes some links to non-existing files

This commit is contained in:
Keviin Åberg Kultalahti
2021-06-24 17:24:42 +02:00
parent 1d91f17144
commit 544d76e29d
19 changed files with 7196 additions and 2163 deletions

View File

@@ -0,0 +1,27 @@
const c = [
() => import("../../../src/routes/$layout.svelte"),
() => import("../components/error.svelte"),
() => import("../../../src/routes/index.svelte"),
() => import("../../../src/routes/cheatsheet/index.svelte")
];
const d = decodeURIComponent;
export const routes = [
// src/routes/index.svelte
[/^\/$/, [c[0], c[2]], [c[1]]],
// src/routes/cheatsheet/index.svelte
[/^\/cheatsheet\/?$/, [c[0], c[3]], [c[1]]],
// src/routes/cheatsheet/cheat-sheet.js
[/^\/cheatsheet\/cheat-sheet\/?$/],
// src/routes/cheatsheet/highlight.css
[/^\/cheatsheet\/highlight\/?$/],
// src/routes/metatag.png
[/^\/metatag\/?$/]
];
export const fallback = [c[0](), c[1]()];