Skip to content

Commit 9860ea6

Browse files
committedOct 31, 2024
fix: fixed deploy problem
1 parent bf0e4a2 commit 9860ea6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

Diff for: ‎src/app/robots.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { baseUrl } from "@/app/sitemap";
22

3+
export const dynamic = 'force-static';
4+
35
export default function robots() {
46
return {
57
rules: [

Diff for: ‎src/app/sitemap.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { getBlogPosts } from "@/app/blog/utils";
22

3-
export const baseUrl = "https:/localhost";
3+
export const baseUrl = "https://per0w.github.io/blog/";
4+
5+
export const dynamic = 'force-static'
46

57
export default async function sitemap() {
68
const blogs = getBlogPosts().map((post) => ({

0 commit comments

Comments
 (0)