mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Since the conflict check looked only at the file name 💀, when there's a `proxy` or `middleware` file inside the app, it also detected a conflict: ``` Unhandled Rejection: Error: Both "middleware" and "proxy" files are detected. Please use "proxy" instead. ``` CI: https://github.com/vercel/next.js/actions/runs/18568804746/job/52937138783?pr=84965#step:34:326 Therefore, check for the actual file path of the middleware/proxy file.