Skip to content

Commit 5429e14

Browse files
committed
bugfix
1 parent 7f143af commit 5429e14

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

app.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default defineConfig({
1111
static: true,
1212
compressPublicAssets: { gzip: false, brotli: false },
1313
prerender: {
14+
autoSubfolderIndex: false,
1415
crawlLinks: true,
1516
routes: ["/", "/404"],
1617
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"scripts": {
3434
"start": "vinxi dev",
35-
"build": "vinxi build && cp .output/public/404/index.html .output/public/404.html",
35+
"build": "vinxi build",
3636
"format": "prettier --write .",
3737
"lint": "eslint 'src/*'"
3838
},
File renamed without changes.

src/routes/[...404].tsx src/routes/*404.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { onCleanup, onMount } from "solid-js";
44
import { createGlobals } from "~/components/global";
55
import { createPointers } from "~/components/sim/pointers";
66
import { createSim, toggleBaseColor } from "~/components/sim/shaders";
7-
import "./[...404].css";
7+
import "./*404.css";
88

99
export default function NotFound() {
1010
createGlobals();

0 commit comments

Comments
 (0)