+5
-5
@@ -1,12 +1,12 @@
|
||||
import { MetadataRoute } from 'next';
|
||||
import { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || 'https://iddaai.com';
|
||||
const baseUrl = process.env.NEXT_PUBLIC_APP_URL || "https://iddaai.com";
|
||||
return {
|
||||
rules: {
|
||||
userAgent: '*',
|
||||
allow: '/',
|
||||
disallow: ['/admin', '/*/dashboard', '/*/profile', '/*/coupon-history'],
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: ["/admin", "/*/dashboard", "/*/profile", "/*/coupon-history"],
|
||||
},
|
||||
sitemap: `${baseUrl}/sitemap.xml`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user