untitled_copperMollusk
HTTP (deprecated)
v2
Preview
1
2
3
4
5
6
7
8
import
{
html
}
from
"https://esm.town/v/stevekrouse/html"
;
export
default
async
function
(
req
:
Request
)
:
Promise
<
Response
>
{
// return new Response("<h1>Hello FRC!</h1>", { headers: {
// "Content-Type": "text/html"
// }})
return
html
(
"<h1>Hello FRC!</h1>"
)
;
}
Preview