File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import { getAllPosts } from "@/lib/api";
22import RSS from "rss" ;
33import { NextResponse } from "next/server" ;
44
5+ export const dynamic = "force-static" ;
6+
57export async function GET ( ) {
68 const posts = getAllPosts ( ) ;
79
Original file line number Diff line number Diff line change 11import { NextResponse } from "next/server" ;
22
3+ export const dynamic = "force-static" ;
4+
35export async function GET ( ) {
46 const robotsTxt = `User-agent: *
57Allow: /
Original file line number Diff line number Diff line change 11import { getAllPosts } from "@/lib/api" ;
22import { NextResponse } from "next/server" ;
33
4+ export const dynamic = "force-static" ;
5+
46export async function GET ( ) {
57 const posts = getAllPosts ( ) ;
68 const baseUrl = "https://openvoiceos.github.io/ovos-blogs" ;
You can’t perform that action at this time.
0 commit comments