mirror of
https://github.com/cdr/code-server.git
synced 2025-12-08 01:12:40 +01:00
This commit introduces scripts for deploying the backend to Cloudflare Workers, including fixes for upload issues and token verification. It also includes the `simple-backend.js` worker code with observability features and endpoints for health checks, AI providers, chat, tools, and workspace files. Co-authored-by: fekofal332 <fekofal332@reaxu.com>
17 lines
No EOL
503 B
Bash
Executable file
17 lines
No EOL
503 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "🔍 اختبار الباكيند..."
|
|
|
|
echo "1. اختبار /health:"
|
|
curl -s https://cursor-backend.workers.dev/health
|
|
|
|
echo -e "\n\n2. اختبار /api/providers:"
|
|
curl -s https://cursor-backend.workers.dev/api/providers
|
|
|
|
echo -e "\n\n3. اختبار /api/tools:"
|
|
curl -s https://cursor-backend.workers.dev/api/tools
|
|
|
|
echo -e "\n\n4. اختبار /api/workspace/files:"
|
|
curl -s https://cursor-backend.workers.dev/api/workspace/files
|
|
|
|
echo -e "\n\n✅ انتهى الاختبار" |