diff --git a/apps/dashboard/src/app/api/[...any]/route.tsx b/apps/dashboard/src/app/api/[...any]/route.tsx index 3d61e113a..2741ff8ee 100644 --- a/apps/dashboard/src/app/api/[...any]/route.tsx +++ b/apps/dashboard/src/app/api/[...any]/route.tsx @@ -3,7 +3,7 @@ import { NextRequest, NextResponse } from "next/server"; import '../../../polyfills'; const handler = async (req: NextRequest) => { - const msg = "You attempted to access /api on the Stack Auth dashboard URL, instead of the API URL. Did you mean to access https://api.stack-auth.com/api instead?\n\nFor more guidance, please join our Discord server for assistance: https://discord.stack-auth.com"; + const msg = "You attempted to access /api on the Stack Auth dashboard URL, instead of the API URL. Did you mean to access https://api.stack-auth.com/api instead (with an I instead of a P)?\n\nFor more guidance, please join our Discord server for assistance: https://discord.stack-auth.com"; console.warn(`${req.headers.has('x-stack-project-id') ? `Project ${req.headers.get('x-stack-project-id')}` : "A user"} attempted to access the old dashboard API.`, nicify(req)); return NextResponse.json({ error: msg,