RLS policies implementeren, Demo auth flow

This commit is contained in:
colinislit
2025-11-15 23:59:38 +01:00
parent b1cfb339a2
commit 99804656d7
49 changed files with 5841 additions and 123 deletions

36
app/robots.ts Normal file
View File

@@ -0,0 +1,36 @@
/**
* Robots.txt Generator
*
* Generates robots.txt for SEO.
* Next.js will automatically serve this at /robots.txt
*/
import type { MetadataRoute } from 'next'
export default function robots(): MetadataRoute.Robots {
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://aispeedrun.vercel.app'
return {
rules: [
{
userAgent: '*',
allow: '/',
disallow: [
'/api/',
'/_next/',
'/admin/',
],
},
{
userAgent: 'Googlebot',
allow: '/',
disallow: [
'/api/',
'/_next/',
],
},
],
sitemap: `${baseUrl}/sitemap.xml`,
}
}