wip: gateway
This commit is contained in:
parent
c7bb19ad07
commit
183e0911b7
101 changed files with 9218 additions and 57 deletions
7
cloud/web/src/entry-server.tsx
Normal file
7
cloud/web/src/entry-server.tsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import { renderToStringAsync } from "solid-js/web"
|
||||
import { App } from "./app"
|
||||
|
||||
export async function render(props: { url: string }) {
|
||||
const app = await renderToStringAsync(() => <App url={props.url} />)
|
||||
return { app }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue