- Added GitHub Actions secrets configuration for deployment - Updated next.config.ts with environment variables - Modified package.json for production deployment - Added robots.ts and sitemap.ts configuration - Created deployment scripts directory
14 lines
307 B
TypeScript
14 lines
307 B
TypeScript
import type { MetadataRoute } from 'next';
|
|
|
|
export const dynamic = 'force-static';
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
const baseUrl = 'https://cheatingchelsea.com';
|
|
return {
|
|
rules: {
|
|
userAgent: '*',
|
|
allow: '/',
|
|
},
|
|
sitemap: `${baseUrl}/sitemap.xml`,
|
|
};
|
|
}
|