ricebug commited on
Commit
4dd6468
·
verified ·
1 Parent(s): ac6ecae

Update main.ts

Browse files
Files changed (1) hide show
  1. main.ts +1 -1
main.ts CHANGED
@@ -2600,7 +2600,7 @@ if (isDenoDeploy) {
2600
  Deno.serve(handleRequest,{ port: 7860 });
2601
  } else {
2602
  // 本地或自托管环境
2603
- const port = parseInt(Deno.env.get("PORT") || "9090");
2604
  console.log(`运行在本地环境中,端口: ${port}`);
2605
 
2606
  if (DASHBOARD_ENABLED) {
 
2600
  Deno.serve(handleRequest,{ port: 7860 });
2601
  } else {
2602
  // 本地或自托管环境
2603
+ const port = parseInt(Deno.env.get("PORT") || "7860");
2604
  console.log(`运行在本地环境中,端口: ${port}`);
2605
 
2606
  if (DASHBOARD_ENABLED) {