diff options
| author | Dax Raad <[email protected]> | 2025-08-15 19:29:24 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-15 19:29:42 -0400 |
| commit | 07cf8847fb1908ff5dc47a771f57d23926baa1ce (patch) | |
| tree | aef73a8ac42e755404cb56107137a7fc4eff3ffd /cloud/app/src/entry-server.tsx | |
| parent | 650e67f1dfd4790152c70864da6c1ade4884ab58 (diff) | |
| download | opencode-07cf8847fb1908ff5dc47a771f57d23926baa1ce.tar.gz opencode-07cf8847fb1908ff5dc47a771f57d23926baa1ce.zip | |
wip: cloud stuff
Diffstat (limited to 'cloud/app/src/entry-server.tsx')
| -rw-r--r-- | cloud/app/src/entry-server.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cloud/app/src/entry-server.tsx b/cloud/app/src/entry-server.tsx new file mode 100644 index 000000000..eb8aea1e8 --- /dev/null +++ b/cloud/app/src/entry-server.tsx @@ -0,0 +1,21 @@ +// @refresh reload +import { createHandler, StartServer } from "@solidjs/start/server"; + +export default createHandler(() => ( + <StartServer + document={({ assets, children, scripts }) => ( + <html lang="en"> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <link rel="icon" href="/favicon.ico" /> + {assets} + </head> + <body data-color-mode="dark"> + <div id="app">{children}</div> + {scripts} + </body> + </html> + )} + /> +)); |
