fix: inline test-api.html as TypeScript string export for Vercel

Bun import of .html files returns HTMLBundle (not a string) in Vercel's
serverless environment, and Bun.file() has no filesystem access there.
Copy the HTML content into api/test-api-content.ts as an escaped string
export, then import it in api/relay.ts — Bun bundler inlines it.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-17 14:14:13 +07:00
co-authored by Claude
parent f8fd18612b
commit 778180a5dc
2 changed files with 2 additions and 4 deletions
File diff suppressed because one or more lines are too long