Skip to content

Commit b8b9716

Browse files
hyperpolymathclaude
andcommitted
feat: track _redirects in deploy/ for repeatable Pages builds
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0910ebd commit b8b9716

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

deploy/_redirects

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# Cloudflare Pages _redirects — proxy API calls to the fly.io backend.
3+
# Format: source destination [status]
4+
# 200 = proxy (transparent); 301/302 = redirect.
5+
#
6+
# API proxy strips the /api prefix so the V backend sees its native routes.
7+
8+
/api/prove https://nesy-solver-api.fly.dev/prove 200
9+
/api/strategy/* https://nesy-solver-api.fly.dev/strategy/:splat 200
10+
/api/health https://nesy-solver-api.fly.dev/health 200
11+
/api/surfaces https://nesy-solver-api.fly.dev/surfaces 200

0 commit comments

Comments
 (0)