- better-auth ile giriş/oturum yönetimi (src/lib/auth, giris sayfası) - iyzico ödeme entegrasyonu ve paket satın alma akışı - kredi sistemi ve uygulama veritabanı şeması (drizzle) - AI destekli rapor üretimi ve tercih sihirbazı - rapor yazdırma sayfası ve site header/kullanıcı menüsü Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
453 B
TypeScript
15 lines
453 B
TypeScript
import type { NextConfig } from "next";
|
||
|
||
const nextConfig: NextConfig = {
|
||
serverExternalPackages: ["better-sqlite3", "iyzipay", "@libsql/client"],
|
||
async redirects() {
|
||
// Eski akış /sonuc modalına taşındı. /rapor/yazdir korunur (tam eşleşme).
|
||
return [
|
||
{ source: "/sohbet", destination: "/sonuc", permanent: false },
|
||
{ source: "/rapor", destination: "/sonuc", permanent: false },
|
||
];
|
||
},
|
||
};
|
||
|
||
export default nextConfig;
|