wang wai lok

Results 3 issues of wang wai lok

The type requests in the new route system changed from NextApiequest to NextRequest and the middleware seems cannot work accordingly. any workaround?

discussion

I want to do some protected route, but middlware in App Route seems cannot get the session on server. `export default async function middleware(req: NextRequest) { //always shows {} const...

![image](https://user-images.githubusercontent.com/7417322/147449636-ee41dc5a-b20c-4b22-9fe5-eb84f3d5b988.png) The package work just fine with english, but when I use languages in other unicode, it just doesn't work, is there any work around?

enhancement