• Middleware that forwards requests that accept html to graphiql.

    Parameters

    • graphQLUrl: string = '/graphql'

      The url to forward from. (default: '/graphql')

    • graphiQLUrl: string = '/graphiql'

      The url to forward to. (default: '/graphiql')

    Returns ((req, res, next) => void)

      • (req, res, next): void
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>
        • next: NextFunction

        Returns void

Generated using TypeDoc