first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "https://turnosxpress.com.ar";
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: [
|
||||
"/admin/",
|
||||
"/dashboard/",
|
||||
"/my-appointments/",
|
||||
"/offer-appointments/",
|
||||
"/landing/recover-account/",
|
||||
],
|
||||
},
|
||||
sitemap: `${baseUrl}/sitemap.xml`,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user