Commit ·
fbd7b4f
1
Parent(s): 68921c9
Use bayan10 HuggingFace org for Spaces deployment
Browse files- .github/workflows/deploy.yml +1 -1
- vercel.json +1 -1
.github/workflows/deploy.yml
CHANGED
|
@@ -60,7 +60,7 @@ jobs:
|
|
| 60 |
run: |
|
| 61 |
HEALTH_URL="${{ secrets.BACKEND_URL }}/api/health"
|
| 62 |
if [ -z "${{ secrets.BACKEND_URL }}" ]; then
|
| 63 |
-
HEALTH_URL="https://
|
| 64 |
fi
|
| 65 |
echo "Checking: $HEALTH_URL"
|
| 66 |
response=$(curl -s -w "\n%{http_code}" "$HEALTH_URL")
|
|
|
|
| 60 |
run: |
|
| 61 |
HEALTH_URL="${{ secrets.BACKEND_URL }}/api/health"
|
| 62 |
if [ -z "${{ secrets.BACKEND_URL }}" ]; then
|
| 63 |
+
HEALTH_URL="https://bayan10-bayan-api.hf.space/api/health"
|
| 64 |
fi
|
| 65 |
echo "Checking: $HEALTH_URL"
|
| 66 |
response=$(curl -s -w "\n%{http_code}" "$HEALTH_URL")
|
vercel.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"rewrites": [
|
| 5 |
{
|
| 6 |
"source": "/api/:path*",
|
| 7 |
-
"destination": "https://
|
| 8 |
},
|
| 9 |
{
|
| 10 |
"source": "/(.*)",
|
|
|
|
| 4 |
"rewrites": [
|
| 5 |
{
|
| 6 |
"source": "/api/:path*",
|
| 7 |
+
"destination": "https://bayan10-bayan-api.hf.space/api/:path*"
|
| 8 |
},
|
| 9 |
{
|
| 10 |
"source": "/(.*)",
|