Public
esbuildProxy
Viewing readonly version: 22View latest version
HTTP
99
1
2
3
4
5
6
7
8
9
10
11
12
export default async function(req: Request): Promise<Response> {
return new Response(
`
<style> html { font-family: sans-serif} </style>
<script type="module" src="https://vite-proxy.fly.dev/${import.meta.resolve("./main.ts")}"></script>
<body>
<div id="root"><div>
</body>
`,
{ headers: { "content-type": "text/html charset=utf-8" } },
);
}