Custom socket.io server.ts in nextjs baby.
Create a server.ts file in root dir of your nextjs project. vim server.ts     import { createServer...
Tags: nextjs, websocket, approuter, customserver