mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 09:08:16 +08:00
9 lines
207 B
TypeScript
9 lines
207 B
TypeScript
interface Env {
|
|
KV: KVNamespace;
|
|
}
|
|
|
|
export const onRequest: PagesFunction<Env> = async (context) => {
|
|
console.log('xxxxx', context.env);
|
|
return new Response(`Hello, world! ${context.request.url}`);
|
|
};
|