Fixed creation of users + better frontend handling of permissions
This commit is contained in:
13
frontend/app/robots.ts
Normal file
13
frontend/app/robots.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { BASE_URL } from "@/lib/constants";
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function robots(): MetadataRoute.Robots {
|
||||
return {
|
||||
rules: {
|
||||
userAgent: "*",
|
||||
allow: "/",
|
||||
disallow: ["/dashboard/", "/gallery/"],
|
||||
},
|
||||
sitemap: `${BASE_URL}/sitemap.xml`,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user