"调整服务器监听端口至8080,更新相关日志输出"

This commit is contained in:
2025-05-01 00:08:07 +00:00
parent fb00382b8d
commit 4234ac207d
2 changed files with 4 additions and 4 deletions

View File

@@ -167,8 +167,8 @@ const runTemplate = async () => {
})
// 启动服务器
Deno.serve({ port: 8000 }, appInstance.fetch)
console.log('应用已启动,监听端口: 8000')
Deno.serve({ port: 8080 }, appInstance.fetch)
console.log('应用已启动,监听端口: 8080')
}
} catch (error) {
console.error('模板加载失败:', error)

View File

@@ -69,8 +69,8 @@ const runTemplate = async () => {
})
// 启动服务器
Deno.serve({ port: 8000 }, appInstance.fetch)
console.log('应用已启动,监听端口: 8000')
Deno.serve({ port: 8080 }, appInstance.fetch)
console.log('应用已启动,监听端口: 8080')
}
} catch (error) {
console.error('模板加载失败:', error)