Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
src/api/routers/health.py
CHANGED
|
@@ -214,7 +214,7 @@ async def keep_alive() -> JSONResponse:
|
|
| 214 |
import httpx
|
| 215 |
|
| 216 |
supabase_url = os.getenv("SUPABASE_URL")
|
| 217 |
-
supabase_key = os.getenv("
|
| 218 |
|
| 219 |
if not supabase_url or not supabase_key:
|
| 220 |
return JSONResponse(
|
|
|
|
| 214 |
import httpx
|
| 215 |
|
| 216 |
supabase_url = os.getenv("SUPABASE_URL")
|
| 217 |
+
supabase_key = os.getenv("SUPABASE_SERVICE_ROLE_KEY") or os.getenv("SUPABASE_ANON_KEY")
|
| 218 |
|
| 219 |
if not supabase_url or not supabase_key:
|
| 220 |
return JSONResponse(
|