From a229dd9789914f71ead5481728676b7ec93ea360 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Sat, 28 Jun 2025 23:24:51 +0800 Subject: [PATCH] feat: load secrets from environment variables --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index 647ec28..216259c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,6 +13,10 @@ export default { async fetch(request, env, ctx): Promise { + const uniApiToken = env.UNIAPI_TOKEN; + const larkBotId = env.LARK_BOT_ID; + const larkSignKey = env.LARK_SIGN_KEY; + return new Response("Hello World!") }, } satisfies ExportedHandler