修复 agent-browser socket 目录权限问题

- 自动创建 /tmp/agent-browser-sockets 目录
- 设置 AGENT_BROWSER_SOCKET_DIR 环境变量
- 解决 Permission denied 错误
This commit is contained in:
2026-07-05 00:12:48 +08:00
parent 8f9bdff00c
commit ccb8479242
2 changed files with 5 additions and 1 deletions

View File

@@ -405,7 +405,7 @@
submitBtn.disabled = true;
try {
const response = await fetch('http://localhost:16025/api/capture', {
const response = await fetch('/api/capture', {
method: 'POST',
headers: {
'Content-Type': 'application/json'