mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 09:08:16 +08:00
add uuid into path
This commit is contained in:
9
functions/sample/hello.ts
Normal file
9
functions/sample/hello.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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()}`);
|
||||
};
|
||||
Reference in New Issue
Block a user