[dev] Fix Middleware and Proxy file conflict (#84965)
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.
Showing
Please
register
or
sign in
to comment