mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-09 21:02:19 +08:00
23 lines
693 B
TypeScript
23 lines
693 B
TypeScript
import { getNodeEnvironment } from "@stackframe/stack-shared/dist/utils/env";
|
|
import Link from "next/link";
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div>
|
|
Welcome to Stack Auth's API endpoint.<br />
|
|
<br />
|
|
Were you looking for <Link href="https://app.stack-auth.com">Stack's dashboard</Link> instead?<br />
|
|
<br />
|
|
You can also return to <Link href="https://stack-auth.com">https://stack-auth.com</Link>.<br />
|
|
<br />
|
|
<Link href="/api/v1">API v1</Link><br />
|
|
{getNodeEnvironment() === "development" && (
|
|
<>
|
|
<br />
|
|
<Link href="/dev-stats">Dev Stats</Link><br />
|
|
</>
|
|
)}
|
|
</div>
|
|
);
|
|
}
|