vblog
Viewing readonly version: 182View latest version
HTTP
99
1
2
3
4
5
6
7
8
9
10
11
12
// import data from "./data";
export default async function(req: Request): Promise<Response> {
const json = JSON.stringify({ test: "hello" });
return new Response(json, {
headers: {
"Content-Type": "application/json",
"Cache-Control": "no-cache",
// "Cache-Control": "public, max-age=3600",
},
});
}
H
www