diff --git a/.env.example b/.env.example index 8ceace67..4c0f8a3b 100644 --- a/.env.example +++ b/.env.example @@ -14,6 +14,3 @@ REPLICATE_API_KEY=your_replicate_api_key_here # Get your API key from: https://fal.ai/dashboard/keys FAL_API_KEY=your_fal_api_key_here -# Community Workflows API URL (Optional - defaults to node-banana-pro hosted service) -# Set this if you're self-hosting the community workflows -COMMUNITY_WORKFLOWS_API_URL=https://your-node-banana-pro-instance.com/api/public/community-workflows diff --git a/src/app/api/community-workflows/[id]/route.ts b/src/app/api/community-workflows/[id]/route.ts index 91f2901b..dce25974 100644 --- a/src/app/api/community-workflows/[id]/route.ts +++ b/src/app/api/community-workflows/[id]/route.ts @@ -1,8 +1,6 @@ import { NextResponse } from "next/server"; -// Default to node-banana-pro hosted service const COMMUNITY_WORKFLOWS_API_URL = - process.env.COMMUNITY_WORKFLOWS_API_URL || "https://nodebananapro.com/api/public/community-workflows"; // Allowed hostnames for presigned URL fetches (SSRF protection) diff --git a/src/app/api/community-workflows/route.ts b/src/app/api/community-workflows/route.ts index 2a62fc18..ee954f48 100644 --- a/src/app/api/community-workflows/route.ts +++ b/src/app/api/community-workflows/route.ts @@ -1,8 +1,6 @@ import { NextResponse } from "next/server"; -// Default to node-banana-pro hosted service const COMMUNITY_WORKFLOWS_API_URL = - process.env.COMMUNITY_WORKFLOWS_API_URL || "https://nodebananapro.com/api/public/community-workflows"; /**