我正在使用@passport-next/passport-google-oauth2、next-connect和passport包。Strategy as GoogleStrategy } from '@passport-next/passport-google-oauth2';import passp
在我的Next.js项目中,我使用route->middleware->endpoint包创建了一个类似于next-connect模式的表达式。但是只有api/tours才能正常工作,任何对api/tours/subroute的请求都会给出一个page not found error.文档:
import nc from 'next-connect
我有一个使用next-connect和twitter-api-v2的项目。: import { NextApiResponse } from 'next'import nc from 'next-connect== 'development'
* Create an API route handler with next-connect and all the n