mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-03 18:21:20 +00:00
fix: Use Prettier to apply format fixes
This commit is contained in:
parent
db122bcf59
commit
f4f633e390
3 changed files with 10 additions and 13 deletions
|
@ -1,14 +1,12 @@
|
||||||
|
import { MetadataRoute } from "next";
|
||||||
import { MetadataRoute } from 'next'
|
|
||||||
import { metadata } from './layout'
|
|
||||||
|
|
||||||
export default function robots(): MetadataRoute.Robots {
|
export default function robots(): MetadataRoute.Robots {
|
||||||
return {
|
return {
|
||||||
rules: {
|
rules: {
|
||||||
userAgent: '*',
|
userAgent: "*",
|
||||||
allow: '/',
|
allow: "/",
|
||||||
disallow: '/private/',
|
disallow: "/private/",
|
||||||
},
|
},
|
||||||
sitemap: `${metadata.metadataBase}sitemap.xml`,
|
sitemap: `sitemap.xml`,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
import { MetadataRoute } from 'next'
|
import { MetadataRoute } from "next";
|
||||||
import { metadata } from './layout'
|
|
||||||
|
|
||||||
export default function sitemap(): MetadataRoute.Sitemap {
|
export default function sitemap(): MetadataRoute.Sitemap {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
url: `${metadata.metadataBase}`,
|
url: `/`,
|
||||||
lastModified: new Date(),
|
lastModified: new Date(),
|
||||||
},
|
},
|
||||||
]
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { authMiddleware } from "@clerk/nextjs";
|
import { authMiddleware } from "@clerk/nextjs";
|
||||||
|
|
||||||
export default authMiddleware({
|
export default authMiddleware({
|
||||||
publicRoutes: ["/"]
|
publicRoutes: ["/"],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
|
|
Loading…
Reference in a new issue