mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 08:52:43 +08:00
10 lines
268 B
TypeScript
10 lines
268 B
TypeScript
import { vlessJs } from 'vless-js';
|
|
interface Env {
|
|
KV: KVNamespace;
|
|
}
|
|
|
|
export const onRequest: PagesFunction<Env> = async (context) => {
|
|
console.log('xxxxx', context.env, vlessJs());
|
|
return new Response(`Hello, world! ${context.request.url}--${vlessJs()}`);
|
|
};
|