Neah_Front/app/flow/page.tsx
2025-04-08 19:13:18 +02:00

22 lines
570 B
TypeScript

import { getServerSession } from "next-auth/next";
import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation";
export default async function FlowPage() {
const session = await getServerSession(authOptions);
if (!session) {
redirect("/signin");
}
return (
<div className="h-[calc(100vh-4rem)] overflow-hidden">
<iframe
src="https://lab.slm-lab.net/flow"
className="w-full h-full border-0"
style={{ display: 'block' }}
allow="fullscreen"
/>
</div>
);
}