boardx / boardx/workspacex

fix(web): /projects rewrite 在空 API_PATH_PREFIX 配置下被文件路由遮挡——静默失效的假绿

Open
#930 0 comments 0 reactions 0 assignees View on GitHub
area:project backlog
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 7m
Merged PRs (30d)
969

Description

## 发现经过

PR #920 独立复核时定位:复核环境(`NEXT_PUBLIC_API_PATH_PREFIX` 为空串的同源代理配置)下
`/projects` 页面顶部出现红字 `Unexpected token '<', "

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in apps/web/next.config.mjs around line 144 and apps/web/app/projects/page.tsx; reproduce the issue with an empty NEXT_PUBLIC_API_PATH_PREFIX and inspect the /projects response. Done means the rewrite no longer collides with the filesystem route in that configuration and the page uses the repository's structured dep-failed StateShell wording instead of the raw parse exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.