Link bookmarking tool built on aproto (early alpha)
1// @refresh reload
2import { createHandler, StartServer } from "@solidjs/start/server"
3
4export default createHandler(() => (
5 <StartServer
6 document={({ assets, children, scripts }) => (
7 <html lang="en">
8 <head>
9 <meta charset="utf-8" />
10 <meta
11 name="viewport"
12 content="width=device-width, initial-scale=1"
13 />
14 <link rel="icon" href="/favicon.ico" />
15 {assets}
16 </head>
17 <body>
18 <div id="app">{children}</div>
19 {scripts}
20 </body>
21 </html>
22 )}
23 />
24), {
25 mode: "stream",
26})