Skip to content

Commit 69e5bec

Browse files
committed
chore: 移除不必要的 Env 介面定義
1 parent cdb4dc4 commit 69e5bec

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ import type { webhook } from "@line/bot-sdk";
22
import { hmacSHA256Base64 } from "./utils/hmacSHA256Base64";
33
import { eventRouter } from "./eventRouter";
44

5-
interface Env {
6-
LINE_CHANNEL_SECRET: {
7-
get(): Promise<string>;
8-
};
9-
LINE_CHANNEL_ACCESS_TOKEN: {
10-
get(): Promise<string>;
11-
};
12-
}
13-
145
export default {
156
async fetch(request: Request, env: Env, ctx: ExecutionContext) {
167
// 檢查方法合法

0 commit comments

Comments
 (0)