File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /// <reference types="next" />
2+ /// <reference types="next/image-types/global" />
3+ import "./.next/types/routes.d.ts" ;
4+
5+ // NOTE: This file should not be edited
6+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Original file line number Diff line number Diff line change 1+ import type { MetadataRoute } from "next" ;
2+
3+ export const dynamic = "force-static" ;
4+
5+ export default function robots ( ) : MetadataRoute . Robots {
6+ return {
7+ rules : {
8+ userAgent : "*" ,
9+ allow : "/" ,
10+ disallow : "/api/" ,
11+ } ,
12+ sitemap : "https://editbanana.anxin6.cn/sitemap.xml" ,
13+ } ;
14+ }
Original file line number Diff line number Diff line change 1+ import type { MetadataRoute } from "next" ;
2+
3+ export const dynamic = "force-static" ;
4+
5+ export default function sitemap ( ) : MetadataRoute . Sitemap {
6+ return [
7+ {
8+ url : "https://editbanana.anxin6.cn" ,
9+ lastModified : new Date ( ) ,
10+ changeFrequency : "weekly" ,
11+ priority : 1 ,
12+ } ,
13+ {
14+ url : "https://editbanana.anxin6.cn/examples" ,
15+ lastModified : new Date ( ) ,
16+ changeFrequency : "weekly" ,
17+ priority : 0.8 ,
18+ } ,
19+ {
20+ url : "https://editbanana.anxin6.cn/about" ,
21+ lastModified : new Date ( ) ,
22+ changeFrequency : "monthly" ,
23+ priority : 0.5 ,
24+ } ,
25+ {
26+ url : "https://editbanana.anxin6.cn/pricing" ,
27+ lastModified : new Date ( ) ,
28+ changeFrequency : "monthly" ,
29+ priority : 0.7 ,
30+ } ,
31+ ] ;
32+ }
You can’t perform that action at this time.
0 commit comments