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

Update file app.config.ts

parent 4f20f418
Branches
No related merge requests found
Pipeline #288337 failed with stages
in 20 seconds
import { defineConfig } from "@solidjs/start/config";
export default defineConfig({
ssr: true,
server: {
prerender: {
crawlLinks: true
},
preset: 'static'
import { createApp } from "vinxi";
export default createApp({
routers: [
{
name: "public",
type: "static",
dir: "./public",
base: '/git-cheat/',
},
base: '/git-cheat/'
});
\ No newline at end of file
{
name: "ssr",
type: "http",
base: '/git-cheat/',
handler: "./app/server.tsx",
target: "server",
},
]
});
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