Skip to content

Commit

Permalink
- alert: 移除危险测试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Mar 7, 2023
1 parent 6bd5596 commit 12eb3b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ var ENV = {
// 调试模式
DEBUG_MODE: false,
// 当前版本
BUILD_TIMESTAMP: 1678159364,
BUILD_TIMESTAMP: 1678167980,
// 当前版本 commit id
BUILD_VERSION: "796dce4"
BUILD_VERSION: "6bd5596"
};
var CONST = {
PASSWORD_KEY: "chat_history_password"
Expand Down Expand Up @@ -823,9 +823,6 @@ async function handleRequest(request) {
if (pathname.startsWith(`/telegram`) && pathname.endsWith(`/webhook`)) {
return telegramWebhookAction(request);
}
if (pathname.startsWith(`/env`)) {
return new Response(JSON.stringify(ENV), { status: 200 });
}
return null;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1678159364
1678167980

0 comments on commit 12eb3b9

Please sign in to comment.