From fe997f6522ba54d21a3f6ae8aac7d80e21bb46ed Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Sun, 14 Jun 2026 19:21:29 +0800 Subject: [PATCH] log to project dir, add web.log to gitignore --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 4e1c357..a914aa6 100755 --- a/start.sh +++ b/start.sh @@ -27,7 +27,7 @@ start_backend() { start_frontend() { echo "=== Starting Frontend (opencode web) ===" cd "$PROJECT_DIR" - nohup opencode web --port 3000 > /tmp/opencode-web.log 2>&1 & + nohup opencode web --port 3000 > "$PROJECT_DIR/web.log" 2>&1 & echo "Frontend PID=$!" echo "Web interface: http://127.0.0.1:3000/" }