fix: Use Prettier to apply format fixes

This commit is contained in:
Bart van der Braak 2023-06-13 00:10:13 +02:00
parent db122bcf59
commit f4f633e390
3 changed files with 10 additions and 13 deletions

View file

@ -1,14 +1,12 @@
import { MetadataRoute } from 'next'
import { metadata } from './layout'
import { MetadataRoute } from "next";
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
disallow: '/private/',
userAgent: "*",
allow: "/",
disallow: "/private/",
},
sitemap: `${metadata.metadataBase}sitemap.xml`,
}
sitemap: `sitemap.xml`,
};
}

View file

@ -1,11 +1,10 @@
import { MetadataRoute } from 'next'
import { metadata } from './layout'
import { MetadataRoute } from "next";
export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: `${metadata.metadataBase}`,
url: `/`,
lastModified: new Date(),
},
]
];
}

View file

@ -1,7 +1,7 @@
import { authMiddleware } from "@clerk/nextjs";
export default authMiddleware({
publicRoutes: ["/"]
publicRoutes: ["/"],
});
export const config = {