diff --git a/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-footer/error-feedback/error-feedback.tsx b/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-footer/error-feedback/error-feedback.tsx index c689583864a0c..ab949da008c3f 100644 --- a/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-footer/error-feedback/error-feedback.tsx +++ b/packages/next/src/client/components/react-dev-overlay/_experimental/internal/components/Errors/error-overlay-footer/error-feedback/error-feedback.tsx @@ -14,7 +14,7 @@ export function ErrorFeedback({ errorCode }: ErrorFeedbackProps) { async (wasHelpful: boolean) => { try { const response = await fetch( - `/__nextjs_error_feedback?errorCode=${errorCode}&wasHelpful=${wasHelpful}` + `${process.env.__NEXT_ROUTER_BASEPATH || ''}/__nextjs_error_feedback?errorCode=${errorCode}&wasHelpful=${wasHelpful}` ) if (!response.ok) {