Update main.ts
Browse files
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") || "
|
| 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) {
|