add uuid into path

This commit is contained in:
zizifn
2023-05-19 22:04:31 +08:00
committed by zizifn
parent a7ed1d77f0
commit 4fde353447
8 changed files with 58 additions and 17 deletions

View 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()}`);
};