mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-02 18:01: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 { 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`,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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(),
|
||||
},
|
||||
]
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { authMiddleware } from "@clerk/nextjs";
|
||||
|
||||
export default authMiddleware({
|
||||
publicRoutes: ["/"]
|
||||
publicRoutes: ["/"],
|
||||
});
|
||||
|
||||
export const config = {
|
||||
|
|
Loading…
Reference in a new issue