apteryxxyz / next-ws

Add support for WebSockets in Next.js app directory.
https://npmjs.com/next-ws
171 stars 12 forks source link

allow route matching to find the route even if a dynamic page exists … #18

Closed enex closed 8 months ago

enex commented 8 months ago

…with a potentially matching segment

If a user has an app dreictory that looks something like this:

[something]/page.tsx websocket/route.ts

next-ws would not have detected websocket as viable route and would have faild to allow the websocket connection