feat: add postgres storage and remote sync
This commit is contained in:
@@ -16,7 +16,7 @@ fi
|
||||
# 2. 测试 SSE 端点
|
||||
echo ""
|
||||
echo "2. 测试 SSE 端点 (GET /sse)..."
|
||||
response=$(timeout 2 curl -s -N -H "Accept: text/event-stream" http://127.0.0.1:8091/sse 2>&1 | head -3)
|
||||
response=$(timeout 2 curl -s -N -H "Accept: text/event-stream" http://127.0.0.1:8094/sse 2>&1 | head -3)
|
||||
if echo "$response" | grep -q "event: endpoint"; then
|
||||
echo "✓ SSE 端点响应正常"
|
||||
echo "$response" | grep "data:" | head -1
|
||||
|
||||
Reference in New Issue
Block a user