Files
Jiwon ChoiandGitHub 54ecdd83f6 [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.
2025-10-16 19:59:11 +02:00

2 lines
71 B
JavaScript

// noop, this file should not picked up as Proxy file and throw error.