Skip to content
Snippets Groups Projects
Commit cdde1534 authored by Quentin Bramas's avatar Quentin Bramas
Browse files

fix build

parent 4baba3f6
Branches
No related merge requests found
Pipeline #288346 passed with stages
in 1 minute
import { defineConfig } from "@solidjs/start/config";
import { createApp } from "vinxi";
export default createApp({
routers: [
{
name: "public",
type: "static",
dir: "./public",
base: '/git-cheat/',
export default defineConfig({
ssr: true,
server: {
prerender: {
crawlLinks: true
},
baseURL: "/git-cheat/",
preset: 'gitlab-pages',
},
{
name: "ssr",
type: "http",
base: '/git-cheat/',
handler: "./app/server.tsx",
target: "server",
},
]
});
});
\ No newline at end of file
......@@ -7,13 +7,6 @@ export default function NotFound() {
<Title>Not Found</Title>
<HttpStatusCode code={404} />
<h1>Page Not Found</h1>
<p>
Visit{" "}
<a href="https://start.solidjs.com" target="_blank">
start.solidjs.com
</a>{" "}
to learn how to build SolidStart apps.
</p>
</main>
);
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment