Skip to content

Make leaderboard API origin configurable - #119

Open
pandemicsyn wants to merge 1 commit into
mainfrom
chore/configurable-api-origin
Open

Make leaderboard API origin configurable#119
pandemicsyn wants to merge 1 commit into
mainfrom
chore/configurable-api-origin

Conversation

@pandemicsyn

Copy link
Copy Markdown
Contributor

Summary

  • allow Vercel Preview deployments to target an alternate API with NEXT_PUBLIC_API_URL
  • retain https://api.pinchbench.com/api as the production default
  • use the same configurable origin for GitHub claim links
  • add the standard pinned TruffleHog secret-scanning workflow

Validation

  • bun test (118 tests passed)
  • NEXT_PUBLIC_API_URL=https://pinchbench-api.engineering-e11.workers.dev/api bun run build
  • workflow YAML syntax parsed successfully

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
leaderboard Ready Ready Preview, Comment Jul 17, 2026 7:45pm

Request Review

@kilo-code-bot

kilo-code-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • .github/workflows/trufflehog.yml
  • app/claim/page.tsx
  • lib/api.ts

Reviewed by claude-sonnet-5 路 Input: 19.8K 路 Output: 2K 路 Cached: 154.3K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant